desktop/imagewriter/PKGBUILD

24 lines
666 B
Bash
Raw Normal View History

pkgname=imagewriter
2012-11-26 10:38:01 +08:00
pkgver=1.10
_pkgver=1d253d960a28f9de4468b0b091c231083f03c1c8
pkgrel=10
pkgdesc="A graphical utility for writing raw disk images & hybrid isos to USB keys"
2012-11-26 10:38:01 +08:00
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
}
2013-07-23 20:48:05 +08:00
package() {
cd $pkgname-$_pkgver
make DESTDIR="$pkgdir/" install
2013-07-23 20:48:05 +08:00
}