Date: Monday, September 5, 2022 @ 20:10:32 Author: arojas Revision: 1293215
upgpkg: libgovirt 0.3.9-1: Update to 0.3.9 Modified: libgovirt/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-09-05 20:09:54 UTC (rev 1293214) +++ PKGBUILD 2022-09-05 20:10:32 UTC (rev 1293215) @@ -2,15 +2,15 @@ # Contributor: Jan de Groot <j...@archlinux.org> pkgname=libgovirt -pkgver=0.3.8 +pkgver=0.3.9 pkgrel=1 pkgdesc="GObject-based library to access oVirt REST API" arch=(x86_64) url="https://gitlab.gnome.org/GNOME/libgovirt" license=(LGPL) -depends=(rest) -makedepends=(git gobject-introspection) -_commit=4c85fde80498a72aa649e67f2c1ef06f85db461a +depends=(librest) +makedepends=(git gobject-introspection meson) +_commit=339bd3322f02079494da3e1fee61fba31dd42196 source=("git+https://gitlab.gnome.org/GNOME/libgovirt.git#commit=$_commit") sha256sums=('SKIP') @@ -19,24 +19,16 @@ git describe --tags | sed -e 's/^v//' -e 's/-/+/g' } -prepare() { - cd $pkgname - NOCONFIGURE=1 ./autogen.sh -} - build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + meson build $pkgname \ + --prefix=/usr + meson compile -C build } check() { - cd $pkgname - make check + meson test -C build } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + meson install -C build --destdir="$pkgdir" }