[arch-commits] Commit in gnome-games/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Mon Sep 10 04:59:48 UTC 2018
Date: Monday, September 10, 2018 @ 04:59:48
Author: bgyorgy
Revision: 378973
upgpkg: gnome-games 3.30.0-1
Update to new version
Modified:
gnome-games/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-10 04:55:05 UTC (rev 378972)
+++ PKGBUILD 2018-09-10 04:59:48 UTC (rev 378973)
@@ -3,7 +3,7 @@
# Contributor: Tom Richards <tom at tomrichards.net>
pkgname=gnome-games
-pkgver=3.28.0
+pkgver=3.30.0
pkgrel=1
pkgdesc='Simple game launcher for GNOME'
arch=('x86_64')
@@ -10,18 +10,21 @@
license=('GPL3')
url='https://wiki.gnome.org/Apps/Games'
depends=('grilo' 'libmanette' 'retro-gtk' 'tracker')
-makedepends=('intltool' 'vala')
+makedepends=('meson' 'vala')
source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
-sha256sums=('64689b7b916345a790f3599b9127206ae055983a90c25bd1356e8827834ea200')
+sha256sums=('1c460a414ce9b739f2cdcafc4486987ba3f1052df17071a0566b7a73685df230')
+prepare() {
+ mkdir build
+}
+
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ cd build
+ meson --prefix=/usr --buildtype=release ../$pkgname-$pkgver
+ ninja
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list