Main #6

Merged
erkanisik merged 2 commits from erkanisik/contrib:main into main 2026-09-13 02:37:17 +00:00
5 changed files with 110 additions and 34 deletions
Showing only changes of commit 6d159e8da7 - Show all commits
+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>
+12 -7
View File
@@ -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())
+17 -7
View File
@@ -12,8 +12,8 @@
<IsA>app:gui</IsA>
<Summary>Udf dosya uzantısı açmaya yarayan program.</Summary>
<Description>Udf dosya uzantısı açmaya yarayan program.Erkan IŞIK</Description>
<Archive sha1sum="a6546f83c73e62607df5697d157bcb928a7ee50f" type="binary">
https://rayp.adalet.gov.tr/resimler/2/dosya/uyapeditor_5.4.17_amd64.deb
<Archive sha1sum="a50e8550185426f6cf208c3dd48472f540fa0754" type="binary">
https://rayp.adalet.gov.tr/resimler/2/dosya/uyapeditor_5.4.20_amd64.zip
</Archive>
</Source>
@@ -26,7 +26,6 @@
<Dependency>pcsc-lite</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/UYAPEditor</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="data">/usr/share/icons</Path>
@@ -35,13 +34,24 @@
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
<AdditionalFiles>
<AdditionalFile target="/usr/share/applications/dokuman.desktop">dokuman.desktop</AdditionalFile>
<AdditionalFile target="/usr/share/applications/sablon.desktop">sablon.desktop</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="20">
<Date>2026-09-13</Date>
<Version>5.4.20</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>5.4.20</Version>
<Comment>V.bump</Comment>
<Name>Erkan IŞIK</Name>
<Email>erkanisik@pisilinux.org</Email>
</Update>
<Update release="18">
<Date>2026-07-11</Date>
<Version>5.4.17</Version>