updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / lprof / PKGBUILD
blob1e7ed6959cedb0426f887660867dfb8505bcc889
1 # Contributor: Branko Vukelic (bg.branko@gmail.com)
2 pkgname=lprof
3 pkgver=1.11.4.1
4 pkgrel=3
5 arch=(i686 x86_64)
6 pkgdesc="Imaging device calibration tool"
7 url="http://lprof.sourceforge.net/"
8 license="GPL"
9 depends=('qt3' 'lcms>=1.12' 'vigra>=1.3')
10 makedepends=('python>=1.53' 'scons')
11 source=(http://downloads.sourceforge.net/lprof/${pkgname}-${pkgver}.tar.gz
12         lcms-117.patch)
13 md5sums=('2177c77c24aa10db9b7681d264735ea9'
14          '5ce946c711462428a10116065647c823')
16 build() {
17   cd ${startdir}/src/${pkgname}-${pkgver}
18   patch -p0<../lcms-117.patch
19   sed -i "s/'tiff'/'tiff','png'/" SConstruct || return 1
20   rm -rf scons*
21   scons PREFIX=/usr qt_directory=/opt/qt/ || return 1
22   install -d ${startdir}/pkg/usr
23   scons PREFIX=${startdir}/pkg/usr install