[arch-commits] Commit in lcms/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Jan 19 17:29:48 UTC 2012


    Date: Thursday, January 19, 2012 @ 12:29:48
  Author: eric
Revision: 146954

upgpkg: lcms 1.19-2

Rebuild against libpng 1.5 and libtiff 4.0

Modified:
  lcms/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-19 16:22:30 UTC (rev 146953)
+++ PKGBUILD	2012-01-19 17:29:48 UTC (rev 146954)
@@ -4,21 +4,25 @@
 
 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"
 }




More information about the arch-commits mailing list