summaryrefslogtreecommitdiff
path: root/community-staging/python2-lcms/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-11 00:35:42 -0700
committerroot <root@rshg054.dnsready.net>2012-10-11 00:35:42 -0700
commitdd7c17a54a4b6e2f08376a1afa8e75de661cc3d4 (patch)
treea9ccc072c17ea4a3f2fbdfa6c82c017a102839ad /community-staging/python2-lcms/PKGBUILD
parent769ba4645df3c2f793bc2d3ee245573b79b206d3 (diff)
Thu Oct 11 00:35:41 PDT 2012
Diffstat (limited to 'community-staging/python2-lcms/PKGBUILD')
-rw-r--r--community-staging/python2-lcms/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community-staging/python2-lcms/PKGBUILD b/community-staging/python2-lcms/PKGBUILD
new file mode 100644
index 000000000..3b75364ab
--- /dev/null
+++ b/community-staging/python2-lcms/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 66130 2012-02-23 01:39:55Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Connor Behan <connor.behan@gmail.com>
+
+pkgname=python2-lcms
+pkgver=1.19
+_mver=1.19
+pkgrel=4
+pkgdesc="LittleCMS Python bindings"
+arch=(i686 x86_64)
+license=('CUSTOM')
+depends=('libtiff' 'python2' 'lcms')
+url="http://www.littlecms.com"
+options=('!libtool')
+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
+}