Proje Gitea'ya taşındı (Temiz başlangıç)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
import os
|
||||
|
||||
WorkDir = "."
|
||||
NoStrip = ["/"]
|
||||
Sandbox = ["HOME", "tmp", "usr/local"]
|
||||
|
||||
def setup():
|
||||
os.chdir(get.workDIR())
|
||||
|
||||
sh_files = shelltools.ls("*.sh")
|
||||
if not sh_files:
|
||||
raise Exception("Hiç .sh dosyası bulunamadı! Mevcut dosyalar: %s" % shelltools.ls("*"))
|
||||
|
||||
shelltools.move(sh_files[0], "studio-3t.sh")
|
||||
shelltools.chmod("studio-3t.sh", mode=0755)
|
||||
|
||||
shelltools.system("./studio-3t.sh -q -dir %s/studio-3t -overwrite" % get.workDIR())
|
||||
|
||||
def install():
|
||||
os.chdir(get.workDIR())
|
||||
|
||||
# İkon
|
||||
if os.path.exists("studio-3t/.install4j/Studio-3T.png"):
|
||||
pisitools.insinto("/usr/share/pixmaps", "studio-3t/.install4j/Studio-3T.png", "studio-3t.png")
|
||||
|
||||
# Program dosyaları
|
||||
if os.path.exists("studio-3t"):
|
||||
pisitools.insinto("/opt/studio-3t", "studio-3t/*")
|
||||
|
||||
# Desktop dosyası
|
||||
if os.path.exists("studio-3t.desktop"):
|
||||
pisitools.insinto("/usr/share/applications", "studio-3t.desktop")
|
||||
|
||||
# Sembolik Link
|
||||
if os.path.exists("/opt/studio-3t/Studio-3T"):
|
||||
pisitools.dosym("/opt/studio-3t/Studio-3T", "/usr/bin/studio-3t")
|
||||
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Studio 3T
|
||||
Name[tr]=Studio 3T
|
||||
Comment=The Professional Client, IDE and GUI for MongoDB
|
||||
Comment[tr]=MongoDB için profesyonel istemci, IDE ve kullanıcı arayüzü
|
||||
Exec=/usr/bin/studio-3t
|
||||
Icon=studio-3t
|
||||
Categories=Science;Education;Development;Application;
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>studio-3t</Name>
|
||||
<Homepage>https://studio3t.com</Homepage>
|
||||
<Packager>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>custom</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Professional Client, IDE and GUI for MongoDB</Summary>
|
||||
<Description>Studio 3T is the professional GUI and IDE for MongoDB.</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>jre8-openjdk</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="779146a13e2586f8fc3597d7b739cc8f421feca6" type="targz" buildpath=".">
|
||||
https://download.studio3t.com/studio-3t/linux/2026.3.0/studio-3t-linux-x64.tar.gz
|
||||
</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>studio-3t</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>jre8-openjdk</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/opt/studio-3t</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/studio-3t.desktop">studio-3t.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2026-04-10</Date>
|
||||
<Version>2026.3.0</Version>
|
||||
<Comment>İlk paketleme.</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gitbook</Name>
|
||||
<Summary xml:lang="tr">GitBook Simple writing from your desktop.</Summary>
|
||||
<Description xml:lang="tr">The GitBook workflow you love, on your Desktop. Try it now !</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user