milis/talimatname/genel/m/milis-yukleyici/talimat

27 lines
836 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Milis linux python3 qt5 tabanlı kurulum aracı
2017-08-02 19:06:27 +02:00
# URL: https://github.com/sonakinci41/Milis-Yukleyici
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python3 python3-pip python3-yaml python3-qt5 python3-parted python3-pytz
2017-08-02 19:06:27 +02:00
2017-10-28 14:10:23 +02:00
isim=milis-yukleyici
surum=1.0
devir=1
kaynak=(https://github.com/sonakinci41/Milis-Yukleyici/archive/master.tar.gz::$isim-$surum.tar.gz
2017-08-02 19:17:35 +02:00
yukleyici.desktop)
2017-08-02 19:06:27 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-08-02 19:06:27 +02:00
install -d $PKG/usr/share/milis-yukleyici
2017-08-02 19:17:35 +02:00
install -d $PKG/usr/share/applications
2017-08-02 19:06:27 +02:00
install -d $PKG/usr/bin
cp -r $SRC/Milis-Yukleyici-master/* $PKG/usr/share/milis-yukleyici
2017-08-02 19:17:35 +02:00
cp $SRC/yukleyici.desktop $PKG/usr/share/applications/yukleyici.desktop
2017-08-02 19:06:27 +02:00
chmod 755 $PKG/usr/share/milis-yukleyici/milis-kur
cat > "$PKG/usr/bin/milis-kurulum" << EOF
#!/bin/sh
2017-10-28 14:10:23 +02:00
python3 /usr/share/$isim/milis-kur "\$@"
2017-08-02 19:06:27 +02:00
EOF
chmod +x "$PKG"/usr/bin/milis-kurulum
}