desktop/imagewriter/PKGBUILD
2012-04-17 18:42:08 +00:00

35 lines
1010 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
pkgname=imagewriter
pkgver=1.9
pkgrel=2
_opensuse_rel=6.1
pkgdesc="SUSE Studio Imagewriter"
arch=('i686' 'x86_64')
url="http://kiwi.berlios.de"
license=('GPLv2')
depends=('qt')
provides=('imagewriter')
screenshot=("http://upload.wikimedia.org/wikipedia/en/1/1e/SUSE_Studio_ImageWriter.png")
source=("http://download.opensuse.org/source/factory/repo/oss/suse/src/imagewriter-${pkgver}-${_opensuse_rel}.src.rpm")
md5sums=('ea0fc1853f8af778dc12ed57471fb853')
build() {
cd "${srcdir}"
rm -vf imagewriter.spec
tar zxvf imagewriter-${pkgver}.tar.gz
cd "${srcdir}/${pkgname}-${pkgver}"
qmake PREFIX=/usr imagewriter.pro
make CFLAGS="${CFLAGS} -DKIOSKHACK -Wno-unused-parameter"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" install
}