milis/talimatname/genel/i/isowriter/talimat

46 lines
995 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: Kalıp dosyalarunu USB belleğe yaz
# URL: https://github.com/KaOSx/isowriter
# Paketçi: Cihan Alkan
# Gerekler: qt5
# Grup: sistem
isim=isowriter
surum=1.1.3
devir=1
kaynak=()
derle() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
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
qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug
make
make DESTDIR="${PKG}" install
mkdir -p $PKG/usr/share/applications
# Başlatıcı
cat > $PKG/usr/share/applications/$isim.desktop << "EOF" &&
[Desktop Entry]
Type=Application
Categories=System;Utility;Archiving;
X-KDE-RootOnly=true
Exec=IsoWriter %F
Icon=icon-iw
Name=ISO Writer
Comment=Tool for creating bootable installation USB flash drives
Comment[tr]=Kalıp dosyalarunu USB belleğe yaz
GenericName=USB key writer
Version=1.0
EOF
mkdir -p $PKG/usr/bin
}