summaryrefslogtreecommitdiff
path: root/pcr/babl-git
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-09-24 13:19:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-09-24 13:19:02 -0300
commit9ffbb19ed268fb8d7564182cb97aae0ada830006 (patch)
tree450b5a3d1d149a24e23a2b5f205319ad1fd50981 /pcr/babl-git
parentd0111101c9c9205b14d6ef1f74bc01c340aadd7d (diff)
update {gimp,gegl,babl}-{devel,git} packages
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
+}