Date: Thursday, January 11, 2018 @ 19:13:16 Author: heftig Revision: 314602
3.26.2-1 Modified: libdazzle/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-11 19:10:14 UTC (rev 314601) +++ PKGBUILD 2018-01-11 19:13:16 UTC (rev 314602) @@ -2,7 +2,7 @@ # Maintainer: Jan de Groot <[email protected]> pkgname=libdazzle -pkgver=3.26.1 +pkgver=3.26.2 pkgrel=1 pkgdesc="A library to delight your users with fancy features" url="https://git.gnome.org/browse/libdazzle" @@ -10,8 +10,9 @@ license=(LGPL) depends=(gtk3) makedepends=(git meson vala gobject-introspection gtk-doc) -_commit=05543e750afbfa1d84ec06135c18fd687dd78f0e # tags/3.26.1^0 -source=("git+https://git.gnome.org/browse/libdazzle#commit=$_commit") +checkdepends=(xorg-server-xvfb) +_commit=a078dd5013a624619c54a3373759471eef647169 # tags/3.26.2^0 +source=("git+https://gitlab.gnome.org/GNOME/libdazzle.git#commit=$_commit") sha256sums=('SKIP') pkgver() { @@ -20,17 +21,19 @@ } prepare() { - mkdir build cd $pkgname } build() { + arch-meson $pkgname build -Denable_gtk_doc=true + ninja -C build +} + +check() { cd build - arch-meson ../$pkgname -Denable_gtk_doc=true - ninja + xvfb-run meson test } package() { - cd build - DESTDIR="$pkgdir" ninja install + DESTDIR="$pkgdir" ninja -C build install }
