summaryrefslogtreecommitdiff
path: root/gnome-unstable/lcms2/PKGBUILD
blob: f33702fb4961502927919b6913b31db6559332a8 (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 111439 2011-02-26 20:12:41Z heftig $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>

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

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