# $Id: PKGBUILD 148191 2012-01-30 18:47:59Z ibiru $ # Maintainer: Eric BĂ©langer # Contributor: Lukas Jirkovsky pkgname=lcms2 pkgver=2.3 pkgrel=2 pkgdesc="Small-footprint color management engine, version 2" arch=('i686' 'x86_64') license=('MIT') depends=('libtiff') url="http://www.littlecms.com" options=('!libtool') source=(http://downloads.sourceforge.net/sourceforge/lcms/${pkgname}-${pkgver}.tar.gz) sha1sums=('67d5fabda2f5777ca8387766539b9c871d993133') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }