PKGBUILDs/extra/lcms/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
699 B
Bash

# $Id: PKGBUILD 43797 2009-06-30 05:49:12Z allan $
# Maintainer: Tobias Kieslich <neri@archlinux.org>
# Contributor: Ben <contrasutra@myrealbox.com>
pkgname=lcms
pkgver=1.18
pkgrel=2
pkgdesc="Lightweight color management development library/engine"
arch=(i686 x86_64)
license=('custom')
depends=('libtiff>=3.8.2-5')
url="http://www.littlecms.com"
options=('!libtool')
source=(http://littlecms.com/${pkgname}-${pkgver}.tar.gz)
md5sums=('9f908e2dc48f76db77ac35a382e394c7')
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
}