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:
Erkan IŞIK
2026-09-13 04:38:30 +03:00
parent 088fc45d4f
commit 6d159e8da7
5 changed files with 110 additions and 34 deletions
+24 -5
View File
@@ -6,13 +6,32 @@
from pisi.actionsapi import get, pisitools, shelltools
NoStrip = ["/opt", "/usr"]
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():
pisitools.dodir ("/opt/Cursor")
pisitools.doexe("Cursor-%s-x86_64.AppImage" % Version, "/opt/Cursor")
pisitools.dosym("/opt/Cursor/Cursor-%s-x86_64.AppImage" % Version, "/usr/bin/cursor")
# 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")
+49 -15
View File
@@ -8,36 +8,70 @@
<Name>Erkan IŞIK</Name>
<Email>erkanisik@pisilinux.org</Email>
</Packager>
<Summary xml:lang="en">The AI Code Editor</Summary>
<Summary xml:lang="tr">Yapay Zeka Destekli Kod Düzenleyicisi</Summary>
<Description xml:lang="en">Built to make you extraordinarily productive, Cursor is the best way to code with AI.</Description>
<Description xml:lang="tr">Sizi olağanüstü derecede üretken kılmak için oluşturulmuş olan Cursor, yapay zeka ile kod yazmanın en iyi yoludur.</Description>
<Summary>The AI Code Editor</Summary>
<Description>Built to make you extraordinarily productive, Cursor is the best way to code with AI.</Description>
<License>custom</License>
<PartOf>development</PartOf>
<Archive sha1sum="be60f093ea675eab0478b6dab976d5524aa64612" type="binary">
https://downloads.cursor.com/production/3578107fdf149b00059ddad37048220e4168100f/linux/x64/Cursor-2.4.31-x86_64.AppImage
<Archive sha1sum="fd595083340528b70e866b40dac5eec0b123885d" type="binary">
https://downloads.cursor.com/production/0c32194e3fb5ffaced9fb36430b860ec301e1fc8/linux/x64/deb/amd64/deb/cursor_3.20.17_amd64.deb
</Archive>
</Source>
<Package>
<Name>Cursor</Name>
<RuntimeDependencies>
<Dependency>fuse3</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>atk</Dependency>
<Dependency>at-spi2-atk</Dependency>
<Dependency>at-spi2-core</Dependency>
<Dependency>cairo</Dependency>
<Dependency>cups</Dependency>
<Dependency>libcurl</Dependency>
<Dependency>dbus</Dependency>
<Dependency>expat</Dependency>
<Dependency>mesa</Dependency>
<Dependency>glib2</Dependency>
<Dependency>nspr</Dependency>
<Dependency>nss</Dependency>
<Dependency>pango</Dependency>
<Dependency>systemd-libs</Dependency>
<Dependency>libx11</Dependency>
<Dependency>libxcb</Dependency>
<Dependency>libxcomposite</Dependency>
<Dependency>libxdamage</Dependency>
<Dependency>libxext</Dependency>
<Dependency>libxfixes</Dependency>
<Dependency>libxkbcommon</Dependency>
<Dependency>libxkbfile</Dependency>
<Dependency>libxrandr</Dependency>
<Dependency>xdg-utils</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/opt</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/opt/cursor</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/bash-completion</Path>
<Path fileType="data">/usr/share/zsh</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/cursor.desktop">cursor.desktop</AdditionalFile>
<AdditionalFile target="/usr/share/icons/cursor.png">cursor.png</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="20">
<Date>2026-09-13</Date>
<Version>3.20.17</Version>
<Comment>Deb paket yapısına göre yeniden düzenlendi</Comment>
<Name>Erkan IŞIK</Name>
<Email>erkanisik@pisilinux.org</Email>
</Update>
<Update release="19">
<Date>2026-09-13</Date>
<Version>3.20.17</Version>
<Comment>Version Bump</Comment>
<Name>Erkan IŞIK</Name>
<Email>erkanisik@pisilinux.org</Email>
</Update>
<Update release="18">
<Date>2026-02-08</Date>
<Version>2.4.31</Version>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<PISI>
<Source>
<Name>Cursor</Name>
<Summary xml:lang="tr">Yapay Zeka Destekli Kod Düzenleyicisi</Summary>
<Description xml:lang="tr">Sizi olağanüstü derecede üretken kılmak için oluşturulmuş olan Cursor, yapay zeka ile kod yazmanın en iyi yoludur.</Description>
</Source>
</PISI>