forked from Pisilinux/contrib
Deb paket yapısına göre paket düzenlemeleri
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>
This commit is contained in:
+12
-7
@@ -5,17 +5,22 @@
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import pisitools, shelltools, get
|
||||
|
||||
Version = get.srcVERSION()
|
||||
WorkDir="."
|
||||
|
||||
def setup():
|
||||
#shelltools.system("unzip uyapeditor_5.4.17_amd64.deb")
|
||||
#shelltools.system("cd uyapeditor-5417-amd6403-06-20263-09-pm")
|
||||
shelltools.system("ar xvf uyapeditor_5.4.17_amd64.deb")
|
||||
shelltools.system("tar xvf data.tar.xz")
|
||||
shelltools.system("unzip uyapeditor_%s_amd64.zip" % Version)
|
||||
shelltools.system("ar x uyapeditor_%s_amd64.deb" % Version)
|
||||
shelltools.system("tar xf data.tar.xz")
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/usr", "%s/usr/*" % get.workDIR())
|
||||
pisitools.insinto("/usr/share/UYAPEditor", "usr/share/UYAPEditor/*")
|
||||
|
||||
pisitools.insinto("/usr/share/applications", "usr/share/applications/sablon.desktop")
|
||||
pisitools.insinto("/usr/share/applications", "usr/share/applications/dokuman.desktop")
|
||||
|
||||
pisitools.insinto("/usr/share/icons", "usr/share/icons/*")
|
||||
|
||||
pisitools.insinto("/usr/share/mime/packages", "usr/share/mime/packages/udf.xml")
|
||||
|
||||
#fixed the authentication problem.
|
||||
shelltools.system("chmod -R 0755 %s/usr/share/UYAPEditor/*" % get.installDIR())
|
||||
|
||||
Reference in New Issue
Block a user