summaryrefslogtreecommitdiff
path: root/extra/babl/PKGBUILD
blob: 35fc6d3981010977cb737310e691085a57905cf9 (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 158344 2012-05-03 19:33:15Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=babl
pkgver=0.1.10
pkgrel=1.1
pkgdesc="Dynamic, any to any, pixel format conversion library"
arch=('i686' 'x86_64' 'mips64el')
url="http://gegl.org/babl/"
license=('LGPL3')
depends=('glibc')
options=('!libtool' '!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
}