[arch-commits] Commit in gnome-tweak-tool/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Sep 20 19:53:03 UTC 2017


    Date: Wednesday, September 20, 2017 @ 19:53:02
  Author: heftig
Revision: 305970

3.26.1-1

Modified:
  gnome-tweak-tool/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-20 19:51:26 UTC (rev 305969)
+++ PKGBUILD	2017-09-20 19:53:02 UTC (rev 305970)
@@ -2,16 +2,16 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-tweak-tool
-pkgver=3.24.1
+pkgver=3.26.1
 pkgrel=1
 pkgdesc="Customize advanced GNOME 3 options"
 arch=(any)
 url="https://wiki.gnome.org/Apps/GnomeTweakTool"
 license=(GPL)
-depends=(gnome-settings-daemon python2-gobject)
-makedepends=(intltool gnome-common git)
+depends=(gnome-settings-daemon python-gobject)
+makedepends=(git meson)
 groups=(gnome-extra)
-_commit=c2d12aa59a74739051a9ddbd131059e76cd67d74  # tags/3.24.1^0
+_commit=bc0a6fb59dcbdeb70d2c6124b5286186b4e2e8ef  # tags/3.26.1^0
 source=("git+https://git.gnome.org/browse/gnome-tweak-tool#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -21,19 +21,25 @@
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd "$pkgname"
-  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libexecdir=/usr/lib/$pkgname
-  make
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname \
+    --libexecdir=/usr/lib/$pkgname
+  ninja
 }
 
+check() {
+  cd build
+  meson test
+}
+
 package() {
-  cd "$pkgname"
-  make DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list