updated on Sun Jan 22 16:00:49 UTC 2012
[aur-mirror.git] / imagewriter / PKGBUILD
blob6463424efe03b461c8d49f83b536a148e49c457b
1 # Maintainer: Somebody <somebody[at]foo[dot]tld>
2 pkgname=imagewriter
3 pkgver=1.9
4 _opensuse_rel=3.1.2
5 pkgrel=1
6 pkgdesc="SUSE Studio Imagewriter - Graphical image writer application"
7 url="http://kiwi.berlios.de"
8 arch=('x86_64' 'i686')
9 license=('GPLv2')
10 depends=('hal' 'qt')
11 install=("imagewriter.install")
12 source=("http://download.opensuse.org/source/distribution/12.1/repo/oss/suse/src/imagewriter-${pkgver}-${_opensuse_rel}.src.rpm")
13 sha512sums=('3aedd6e68ed11edf38c165a13a510c4d71690b4079780231c76fd047c24ee2cfd7cdedab654ce244f9728e63f5a5f9689cfcb96cf3b85a40a2a58ca1e34416c2')
15 build() {
16   #cd "${srcdir}/${pkgname}-${pkgver}"
17   cd "${srcdir}"
18   rm -vf imagewriter.spec
19   tar zxvf imagewriter-${pkgver}.tar.gz
20   cd "${srcdir}/${pkgname}-${pkgver}"
21   qmake PREFIX=/usr imagewriter.pro
22   make CFLAGS="${CFLAGS} -DKIOSKHACK"
25 package() {
26   cd "${srcdir}/${pkgname}-${pkgver}"
27   #Used in imagewriter RPM spec file
28   #install -d ${pkgdir}/usr/bin
29   #install -m 755 -p imagewriter ${pkgdir}/usr/bin
30   make INSTALL_ROOT="${pkgdir}" install
33 # vim:set ts=2 sw=2 et: