summaryrefslogtreecommitdiff
path: root/extra/lcms2/PKGBUILD
blob: 7cdcf8bfafb72e7537bfa0656b8a90ee53afd4f7 (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
28
# $Id: PKGBUILD 127369 2011-06-13 20:26:40Z eric $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>

pkgname=lcms2
pkgver=2.2
pkgrel=1
pkgdesc="Small-footprint color management engine, version 2"
arch=(i686 x86_64)
license=('MIT')
depends=('libtiff>=3.9.4')
url="http://www.littlecms.com"
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/lcms/$pkgname-$pkgver.tar.gz)
md5sums=('aaf33c7c25675e6163189ba488ae20f5')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm 644 COPYING \
    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}