summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/babl-devel/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/babl-devel/PKGBUILD b/pcr/babl-devel/PKGBUILD
new file mode 100644
index 000000000..9f7e4509b
--- /dev/null
+++ b/pcr/babl-devel/PKGBUILD
@@ -0,0 +1,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
+}