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

27 lines
811 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Milis linux python3 qt5 tabanlı kurulum aracı
2018-06-20 17:42:48 +02:00
# URL: https://notabug.org/milislinux/yukleyici
2018-06-09 00:06:58 +02:00
# Paketçi: milisarge
# Gerekler: python3 python3-pip python3-yaml python3-qt5 python3-parted python3-pytz
isim=milis-yukleyici
2018-06-20 17:42:48 +02:00
surum=1.1
2018-06-09 00:06:58 +02:00
devir=1
2018-06-20 17:42:48 +02:00
kaynak=(https://notabug.org/milislinux/yukleyici/archive/master.tar.gz::$isim-$surum.tar.gz
2018-06-09 00:06:58 +02:00
yukleyici.desktop)
derle() {
install -d $PKG/usr/share/milis-yukleyici
install -d $PKG/usr/share/applications
install -d $PKG/usr/bin
2018-06-20 17:42:48 +02:00
cp -r $SRC/yukleyici/* $PKG/usr/share/milis-yukleyici
2018-06-09 00:06:58 +02:00
cp $SRC/yukleyici.desktop $PKG/usr/share/applications/yukleyici.desktop
chmod 755 $PKG/usr/share/milis-yukleyici/milis-kur
cat > "$PKG/usr/bin/milis-kurulum" << EOF
#!/bin/sh
python3 /usr/share/$isim/milis-kur "\$@"
EOF
chmod +x "$PKG"/usr/bin/milis-kurulum
}