[arch-commits] Commit in libgnome-games-support/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 5 23:25:15 UTC 2020
Date: Thursday, March 5, 2020 @ 23:25:14
Author: heftig
Revision: 376804
1.6.0.1-1
Modified:
libgnome-games-support/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-05 20:49:13 UTC (rev 376803)
+++ PKGBUILD 2020-03-05 23:25:14 UTC (rev 376804)
@@ -1,7 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=libgnome-games-support
-pkgver=1.4.4
+pkgver=1.6.0.1
pkgrel=1
pkgdesc="Code shared between GNOME games"
url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
@@ -8,8 +8,9 @@
arch=(x86_64)
license=(GPL3 LGPL3)
depends=(libgee gtk3)
-makedepends=(vala git autoconf-archive)
-_commit=a28ffb2d46f2b142717d4709a9e5129a3b80f92e # tags/1.4.4^0
+makedepends=(vala git meson)
+provides=("libgnome-games-support-${pkgver%%.*}.so")
+_commit=0aca5d736973e69972e1dd79f55a233971fbae7e # tags/1.6.0.1^0
source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit")
sha256sums=('SKIP')
@@ -20,17 +21,17 @@
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
+ arch-meson $pkgname build
+ ninja -C build
}
+check() {
+ meson test -C build --print-errorlogs
+}
+
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install -C build
}
More information about the arch-commits
mailing list