summaryrefslogtreecommitdiff
path: root/community/lcms2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lcms2/PKGBUILD')
-rw-r--r--community/lcms2/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/lcms2/PKGBUILD b/community/lcms2/PKGBUILD
new file mode 100644
index 000000000..d7c84fce9
--- /dev/null
+++ b/community/lcms2/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Lukas Jirkovsky <l.jirkovsky@gmail.com>
+pkgname=lcms2
+pkgver=2.1
+pkgrel=1
+pkgdesc="Small-footprint color management engine"
+arch=('i686' 'x86_64')
+url="http://www.littlecms.com/"
+license=('MIT')
+depends=('libtiff')
+options=(!libtool)
+source=(http://downloads.sourceforge.net/project/lcms/lcms/$pkgver/lcms2-$pkgver.tar.gz)
+md5sums=('08036edb115ad74456dfa20b1998b5f4')
+
+build() {
+ cd "$srcdir"/lcms2-$pkgver
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir"/lcms2-$pkgver
+
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+# vim:set ts=2 sw=2 et: