summaryrefslogtreecommitdiff
path: root/testing/lcms2/PKGBUILD
blob: 3ea0520ab62912de4f5b5fd644f08a0329e89a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 148191 2012-01-30 18:47:59Z ibiru $
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>

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"
}