2010-11-16 09:27:26 +08:00
|
|
|
pkgname=imagewriter
|
2012-11-26 10:38:01 +08:00
|
|
|
pkgver=1.10
|
2015-09-17 23:39:42 +08:00
|
|
|
_pkgver=1d253d960a28f9de4468b0b091c231083f03c1c8
|
2018-10-21 17:34:57 +08:00
|
|
|
pkgrel=10
|
2015-09-17 23:39:42 +08:00
|
|
|
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')
|
2015-09-17 23:39:42 +08:00
|
|
|
url='https://github.com/mbarringer/imagewriter'
|
|
|
|
license=('GPL2')
|
2018-10-21 17:34:57 +08:00
|
|
|
depends=('qt5-base' 'udisks2')
|
2015-09-17 23:39:42 +08:00
|
|
|
source=("$pkgname-$pkgver.zip::https://github.com/openSUSE/imagewriter/archive/$_pkgver.zip")
|
|
|
|
sha256sums=('e8868d622d85f4563d6e0fd3a80a6c727d97b3a6debbe8f90c0fda5003e0a197')
|
2010-11-16 09:27:26 +08:00
|
|
|
|
|
|
|
build() {
|
2015-09-17 23:39:42 +08:00
|
|
|
cd $pkgname-$_pkgver
|
|
|
|
CFLAGS="$CFLAGS -DKIOSKHACK"
|
|
|
|
qmake-qt5 PREFIX="$pkgdir/usr" DEFINES=USEUDISKS2 $pkgname.pro
|
|
|
|
make
|
2013-07-16 05:41:16 +08:00
|
|
|
}
|
2013-07-23 20:48:05 +08:00
|
|
|
|
|
|
|
package() {
|
2015-09-17 23:39:42 +08:00
|
|
|
cd $pkgname-$_pkgver
|
|
|
|
make DESTDIR="$pkgdir/" install
|
2013-07-23 20:48:05 +08:00
|
|
|
}
|