Update talimat

This commit is contained in:
Aylinux 2018-05-27 22:33:19 +03:00 committed by GitHub
parent 0eb9cccd29
commit 4c13f6748e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 14 deletions

View File

@ -1,6 +1,6 @@
# Tanım: Kalıp dosyalarunu USB belleğe yaz # Tanım: Kalıp dosyalarunu USB belleğe yaz
# URL: https://github.com/KaOSx/isowriter # URL: https://github.com/KaOSx/isowriter
# Paketçi: Cihan Alkan # Paketçi: Cihan_Alkan
# Gerekler: qt5 # Gerekler: qt5
# Grup: sistem # Grup: sistem
@ -12,19 +12,10 @@ kaynak=()
derle() { derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then git_indir https://github.com/KaOSx/isowriter $isim
git clone https://github.com/KaOSx/isowriter $DERLEME_KAYNAKDIZIN/$isim
else
cd $DERLEME_KAYNAKDIZIN/$isim
git pull
cd -
fi
cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
cd $SRC/$isim cd $SRC/$isim
qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
make make
make DESTDIR="${PKG}" install
mkdir -p $PKG/usr/share/applications mkdir -p $PKG/usr/share/applications
# Başlatıcı # Başlatıcı
cat > $PKG/usr/share/applications/$isim.desktop << "EOF" && cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
@ -32,8 +23,8 @@ cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
Type=Application Type=Application
Categories=System;Utility;Archiving; Categories=System;Utility;Archiving;
X-KDE-RootOnly=true X-KDE-RootOnly=true
Exec=IsoWriter %F Exec=sudo IsoWriter
Icon=icon-iw Icon=/usr/share/icons/usb_blue.png
Name=ISO Writer Name=ISO Writer
Comment=Tool for creating bootable installation USB flash drives Comment=Tool for creating bootable installation USB flash drives
Comment[tr]=Kalıp dosyalarunu USB belleğe yaz Comment[tr]=Kalıp dosyalarunu USB belleğe yaz
@ -42,4 +33,8 @@ Version=1.0
EOF EOF
mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/bin
cp IsoWriter $PKG/usr/bin/
mkdir -p $PKG/usr/share/icons
cp res/usb_blue.png $PKG/usr/share/icons/
} }