summaryrefslogtreecommitdiff
path: root/extra/lcms
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lcms')
-rw-r--r--extra/lcms/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/lcms/PKGBUILD b/extra/lcms/PKGBUILD
index effc73c13..a8706fe41 100644
--- a/extra/lcms/PKGBUILD
+++ b/extra/lcms/PKGBUILD
@@ -1,24 +1,28 @@
-# $Id: PKGBUILD 87526 2010-08-15 13:47:09Z ibiru $
+# $Id: PKGBUILD 148810 2012-02-05 11:51:27Z ibiru $
# Maintainer: Tobias Kieslich <neri@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>
pkgname=lcms
pkgver=1.19
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight color management development library/engine"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('custom')
-depends=('libtiff>=3.9.4')
+depends=('libtiff')
url="http://www.littlecms.com"
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('8af94611baf20d9646c7c2c285859818')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
- make DESTDIR=${pkgdir} install
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
install -Dm 644 COPYING \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}