summaryrefslogtreecommitdiff
path: root/extra/babl/PKGBUILD
blob: a88d9bb1956a76b93f6e610314d54acd3f053124 (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 197873 2013-10-30 11:23:34Z allan $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=babl
pkgver=0.1.10
pkgrel=1
pkgdesc="Dynamic, any to any, pixel format conversion library"
arch=('i686' 'x86_64')
url="http://gegl.org/babl/"
license=('LGPL3')
depends=('glibc')
options=('!makeflags')
source=(ftp://ftp.gimp.org/pub/babl/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('ee60089e8e9d9390e730d3ae5e41074549928b7a')

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

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make check
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}