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

Jan de Groot jgc at archlinux.org
Wed Sep 20 21:17:07 UTC 2017


    Date: Wednesday, September 20, 2017 @ 21:17:06
  Author: jgc
Revision: 306021

upgpkg: gnome-screenshot 3.25.0+48+g7812e98-1

Modified:
  gnome-screenshot/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-20 21:12:03 UTC (rev 306020)
+++ PKGBUILD	2017-09-20 21:17:06 UTC (rev 306021)
@@ -3,7 +3,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-screenshot
-pkgver=3.22.0+42+g8472361
+pkgver=3.25.0+48+g7812e98
 pkgrel=1
 pkgdesc="Take pictures of your screen"
 url="https://git.gnome.org/browse/gnome-screenshot"
@@ -10,12 +10,17 @@
 arch=(i686 x86_64)
 license=(GPL2)
 depends=(dconf gtk3 libcanberra)
-makedepends=(intltool git)
+makedepends=(git meson appstream-glib)
 groups=(gnome)
-_commit=8472361f3c23402ffe0367184d497d16984dec0c  # master
+_commit=7812e98a39e142167f427753f22c436b22eb6847  # gnome-3-26
 source=("git+https://git.gnome.org/browse/gnome-screenshot#commit=$_commit")
 sha256sums=('SKIP')
 
+check() {
+  cd build
+  meson test
+}
+
 pkgver() {
   cd $pkgname
   git describe --tags | sed 's/-/+/g'
@@ -22,19 +27,19 @@
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd "$pkgname"
-  ./configure --prefix=/usr
-  make
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname
+  ninja
 }
 
 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