[arch-commits] Commit in libgnome-games-support/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Mar 5 23:25:34 UTC 2020
Date: Thursday, March 5, 2020 @ 23:25:33
Author: heftig
Revision: 376805
archrelease: copy trunk to extra-x86_64
Added:
libgnome-games-support/repos/extra-x86_64/PKGBUILD
(from rev 376804, libgnome-games-support/trunk/PKGBUILD)
Deleted:
libgnome-games-support/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-05 23:25:14 UTC (rev 376804)
+++ PKGBUILD 2020-03-05 23:25:33 UTC (rev 376805)
@@ -1,36 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-
-pkgname=libgnome-games-support
-pkgver=1.4.4
-pkgrel=1
-pkgdesc="Code shared between GNOME games"
-url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
-arch=(x86_64)
-license=(GPL3 LGPL3)
-depends=(libgee gtk3)
-makedepends=(vala git autoconf-archive)
-_commit=a28ffb2d46f2b142717d4709a9e5129a3b80f92e # tags/1.4.4^0
-source=("git+https://gitlab.gnome.org/GNOME/libgnome-games-support.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-really//;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
-}
-
-package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
-}
Copied: libgnome-games-support/repos/extra-x86_64/PKGBUILD (from rev 376804, libgnome-games-support/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-05 23:25:33 UTC (rev 376805)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libgnome-games-support
+pkgver=1.6.0.1
+pkgrel=1
+pkgdesc="Code shared between GNOME games"
+url="https://gitlab.gnome.org/GNOME/libgnome-games-support"
+arch=(x86_64)
+license=(GPL3 LGPL3)
+depends=(libgee gtk3)
+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')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-really//;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list