Date: Tuesday, March 13, 2018 @ 22:56:49 Author: bpiotrowski Revision: 318920
archrelease: copy trunk to gnome-unstable-x86_64 Added: babl/repos/gnome-unstable-x86_64/ babl/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318919, babl/trunk/PKGBUILD) ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Copied: babl/repos/gnome-unstable-x86_64/PKGBUILD (from rev 318919, babl/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2018-03-13 22:56:49 UTC (rev 318920) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Daniel Isenmann <dan...@archlinux.org> + +pkgname=babl +pkgver=0.1.44 +pkgrel=1 +pkgdesc="Dynamic, any to any, pixel format conversion library" +arch=(x86_64) +url="http://gegl.org/babl/" +license=(LGPL3) +depends=(glibc) +makedepends=(gobject-introspection vala git meson) +options=(!makeflags) +_commit=9e4bfe9f1470a7836f7f885ea95607427ed7997f # tags/BABL_0_1_44^0 +source=("git+https://git.gnome.org/browse/babl#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^BABL_//;s/_/./g;s/-/+/g' +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + cd build + meson test +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +}