2017-08-02 19:06:27 +02:00
|
|
|
|
# Description: Milis linux python3 qt5 tabanlı kurulum aracı
|
|
|
|
|
# URL: https://github.com/sonakinci41/Milis-Yukleyici
|
|
|
|
|
# Packager: milisarge
|
2017-08-27 04:37:23 +02:00
|
|
|
|
# Depends on: python3 python3-pip python3-yaml python3-qt5 python3-parted python3-pytz
|
2017-08-02 19:06:27 +02:00
|
|
|
|
|
|
|
|
|
name=milis-yukleyici
|
|
|
|
|
version=1.0
|
|
|
|
|
release=1
|
2017-08-02 19:17:35 +02:00
|
|
|
|
source=(https://github.com/sonakinci41/Milis-Yukleyici/archive/master.tar.gz::$name-$version.tar.gz
|
|
|
|
|
yukleyici.desktop)
|
2017-08-02 19:06:27 +02:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
python3 /usr/share/$name/milis-kur "\$@"
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
chmod +x "$PKG"/usr/bin/milis-kurulum
|
|
|
|
|
}
|