6d159e8da7
Cursor paketi: - AppImage yerine deb paket yapısına geçildi - Dosyalar /opt/cursor dizinine kopyalanacak - /usr/bin/cursor symlink /opt/cursor/bin/cursor'a bağlanacak - Desktop dosyaları (cursor.desktop ve cursor-url-handler.desktop) deb paketinden kopyalanacak - İkon (co.anysphere.cursor.png) deb paketinden kopyalanacak - Bash ve Zsh completion dosyaları eklendi - Bağımlılıklar deb paketine göre güncellendi (fuse3 kaldırıldı, GTK3 ve diğer kütüphaneler eklendi) - translations.xml dosyası eklendi Uyap paketi: - Deb paket yapısına göre yeniden düzenlendi - Zip dosyasından deb paketi çıkarılacak - Dosyalar doğru dizinlere kopyalanacak (usr/share/UYAPEditor, usr/share/applications, usr/share/icons, usr/share/mime) - Desktop dosyaları deb paketinden gelecek (AdditionalFiles kaldırıldı) - /usr/bin dosya yolu kaldırıldı (deb paketinde /usr/bin yok) - Release 20 ile yeni güncelleme eklendi Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
#!/usr/bin/env python
|
||
# -*- coding: utf-8 -*-
|
||
#
|
||
# Licensed under the GNU General Public License, version 3.
|
||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||
|
||
from pisi.actionsapi import get, pisitools, shelltools
|
||
|
||
NoStrip = ["/usr"]
|
||
IgnoreAutodep = True
|
||
Version = get.srcVERSION()
|
||
def setup():
|
||
shelltools.system("pwd")
|
||
shelltools.system("ar xf cursor_%s_amd64.deb" % Version)
|
||
shelltools.system("tar xf data.tar.xz")
|
||
|
||
def install():
|
||
# Cursor dosyalarını /opt/cursor dizinine kopyala
|
||
pisitools.dodir("/opt/cursor")
|
||
pisitools.insinto("/opt/cursor", "usr/share/cursor/*")
|
||
|
||
# /usr/bin/cursor symlink oluştur
|
||
pisitools.dosym("/opt/cursor/bin/cursor", "/usr/bin/cursor")
|
||
|
||
# Desktop dosyasını kopyala
|
||
pisitools.insinto("/usr/share/applications", "usr/share/applications/cursor.desktop")
|
||
pisitools.insinto("/usr/share/applications", "usr/share/applications/cursor-url-handler.desktop")
|
||
|
||
# İkonu kopyala
|
||
pisitools.insinto("/usr/share/pixmaps", "usr/share/pixmaps/co.anysphere.cursor.png")
|
||
|
||
# Bash completion dosyalarını kopyala
|
||
pisitools.insinto("/usr/share/bash-completion/completions", "usr/share/bash-completion/completions/cursor")
|
||
|
||
# Zsh completion dosyalarını kopyala
|
||
pisitools.insinto("/usr/share/zsh/vendor-completions", "usr/share/zsh/vendor-completions/_cursor")
|
||
|