forked from Pisilinux/contrib
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>
27 lines
947 B
Python
27 lines
947 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# 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_%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/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")
|
|
|
|
shelltools.system("chmod -R 0755 %s/usr/share/UYAPEditor/*" % get.installDIR())
|