# 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=2

kaynak=()

derle() {

	git_indir https://github.com/KaOSx/isowriter $isim 
	cd $SRC/$isim
	qmake-qt5 ImageWriter.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug 
        make
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=sudo IsoWriter
Icon=/usr/share/icons/usb_blue.png
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
   cp IsoWriter $PKG/usr/bin/
   mkdir -p $PKG/usr/share/icons
   cp res/usb_blue.png $PKG/usr/share/icons/
}

