From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/python-lcms/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 community/python-lcms/PKGBUILD (limited to 'community/python-lcms') diff --git a/community/python-lcms/PKGBUILD b/community/python-lcms/PKGBUILD new file mode 100644 index 000000000..a501f1b26 --- /dev/null +++ b/community/python-lcms/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $ +# Maintainer: Sergej Pupykin +# Contributor: Connor Behan + +pkgname=python-lcms +pkgver=1.19 +_mver=1.19 +pkgrel=2 +pkgdesc="LittleCMS Python bindings" +arch=(i686 x86_64) +license=('CUSTOM') +depends=('libtiff' 'python2' 'lcms') +url="http://www.littlecms.com" +options=('!libtool' 'force') +source=(http://downloads.sourceforge.net/project/lcms/lcms/${_mver}/lcms-$pkgver.tar.gz) +md5sums=('8af94611baf20d9646c7c2c285859818') + +build() { + cd $srcdir/lcms-${_mver} + + ./configure --prefix=/usr --with-python + make +} +package() { + cd $srcdir/lcms-${_mver} + + make DESTDIR=$pkgdir install + + install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING && \ + rm -rf $pkgdir/usr/bin \ + $pkgdir/usr/include \ + $pkgdir/usr/lib/pkgconfig \ + $pkgdir/usr/lib/liblcms.* \ + $pkgdir/usr/share/man/man1/icc2ps.1 \ + $pkgdir/usr/share/man/man1/icclink.1 \ + $pkgdir/usr/share/man/man1/jpegicc.1 \ + $pkgdir/usr/share/man/man1/tifficc.1 \ + $pkgdir/usr/share/man/man1/wtpt.1 +} -- cgit v1.2.3-54-g00ecf