desktop/imagewriter/PKGBUILD
2018-10-21 11:34:57 +02:00

24 lines
666 B
Bash

pkgname=imagewriter
pkgver=1.10
_pkgver=1d253d960a28f9de4468b0b091c231083f03c1c8
pkgrel=10
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')
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
}