# $Id: PKGBUILD 9147 2008-08-17 04:15:31Z eric $
# Maintainer: Tobias Kieslich <neri@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>

pkgname=lcms
pkgver=1.17
pkgrel=3
pkgdesc="Lightweight color management development library/engine"
arch=(i686 x86_64)
license=('CUSTOM')
depends=('libtiff')
url="http://www.littlecms.com"
options=('!libtool')
source=(http://littlecms.com/${pkgname}-${pkgver}.tar.gz)
md5sums=('07bdbb4cfb05d21caa58fe3d1c84ddc1')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${startdir}/pkg install
  install -Dm 644 COPYING \
    ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
}