summaryrefslogtreecommitdiff
path: root/extra/lcms2/PKGBUILD
blob: 1cace6db4691efdac4cfc21d04695713162e01eb (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
29
30
# $Id: PKGBUILD 197253 2013-10-24 19:34:40Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=lcms2
pkgver=2.5
pkgrel=2
pkgdesc="Small-footprint color management engine, version 2"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.littlecms.com"
license=('MIT')
depends=('libtiff')
source=(http://downloads.sourceforge.net/sourceforge/lcms/${pkgname}-${pkgver}.tar.gz)
sha1sums=('bab3470471fc7756c5fbe71be9a3c7d677d2ee7b')

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

check() {
  cd ${pkgname}-${pkgver}
  make check
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}