# Tanım: Windows DVD'sinden veya bir iso dosyasından Windows USB bellek kurulum aracı oluşturma programı
# URL: https://github.com/slacka/WoeUSB
# Paketçi: Cihan Alkan
# Gerekler: wxgtk grub libnotify parted ntfs-3g p7zip

isim=woeusb
surum=2.0.3
devir=1

kaynak=(trad.mo)


derle() {
	if [ ! -d $DERLEME_KAYNAKDIZIN/$isim  ];then
		git clone https://github.com/slacka/WoeUSB.git $DERLEME_KAYNAKDIZIN/$isim 
	else
		cd $DERLEME_KAYNAKDIZIN/$isim 
		git pull
		cd -
	fi
	cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
	cd $SRC/$isim
	./configure
	make
	make DESTDIR=$PKG prefix=/usr/ install
mkdir $PKG/usr/share/woeusb/locale/tr
mkdir $PKG/usr/share/woeusb/locale/tr/LC_MESSAGES

cp $SRC/trad.mo $PKG/usr/share/woeusb/locale/tr/LC_MESSAGES/
echo "Comment[tr_TR]=Windows DVD'sinden veya bir iso dosyasından Windows USB bellek kurulum aracı oluşturma programı" >> $PKG/usr/share//applications/woeusbgui.desktop

}
