summaryrefslogtreecommitdiff
path: root/pcr/babl-git
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/babl-git')
-rw-r--r--pcr/babl-git/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/pcr/babl-git/PKGBUILD b/pcr/babl-git/PKGBUILD
new file mode 100644
index 000000000..f044cee6f
--- /dev/null
+++ b/pcr/babl-git/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of babl
+
+_pkgname=babl
+pkgname=babl-devel
+pkgver=r819.a4bc988
+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')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+makedepends=('gobject-introspection' 'vala')
+options=('!makeflags')
+source=(${_pkgname}-${pkgver}::git+git://git.gnome.org/$_pkgname.git)
+sha1sums=('SKIP')
+
+pkgver() {
+ cd ${_pkgname}-${pkgver}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+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
+}