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

27 lines
811 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Milis linux python3 qt5 tabanlı kurulum aracı
# URL: https://notabug.org/milislinux/yukleyici
# Paketçi: milisarge
# Gerekler: python3 python3-pip python3-yaml python3-qt5 python3-parted python3-pytz
isim=milis-yukleyici
surum=1.1
devir=1
kaynak=(https://notabug.org/milislinux/yukleyici/archive/master.tar.gz::$isim-$surum.tar.gz
yukleyici.desktop)
derle() {
install -d $PKG/usr/share/milis-yukleyici
install -d $PKG/usr/share/applications
install -d $PKG/usr/bin
cp -r $SRC/yukleyici/* $PKG/usr/share/milis-yukleyici
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
}