# Maintainer: FranzMari pkgname=imagewriter pkgver=1.10 _pkgver=1d253d960a28f9de4468b0b091c231083f03c1c8 pkgrel=9 pkgdesc="A graphical utility for writing raw disk images & hybrid isos to USB keys" arch=('x86_64') url='https://github.com/mbarringer/imagewriter' license=('GPL2') depends=('qt5-base' 'udisks2' 'kde-runtime') source=("$pkgname-$pkgver.zip::https://github.com/openSUSE/imagewriter/archive/$_pkgver.zip") sha256sums=('e8868d622d85f4563d6e0fd3a80a6c727d97b3a6debbe8f90c0fda5003e0a197') build() { cd $pkgname-$_pkgver CFLAGS="$CFLAGS -DKIOSKHACK" qmake-qt5 PREFIX="$pkgdir/usr" DEFINES=USEUDISKS2 $pkgname.pro make } package() { cd $pkgname-$_pkgver make DESTDIR="$pkgdir/" install }