summaryrefslogtreecommitdiff
path: root/pcr/babl-devel/PKGBUILD
blob: 9f7e4509b171aa61786a729a2a893d4a0b53ebcb (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
31
32
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of babl

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

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
}