[arch-commits] Commit in gnome-disk-utility/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Tue Sep 19 21:43:39 UTC 2017
Date: Tuesday, September 19, 2017 @ 21:43:37
Author: jgc
Revision: 305875
upgpkg: gnome-disk-utility 3.26.0-1
Modified:
gnome-disk-utility/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-19 21:34:17 UTC (rev 305874)
+++ PKGBUILD 2017-09-19 21:43:37 UTC (rev 305875)
@@ -4,7 +4,7 @@
# Contributor: Silvio Knizek (killermoehre)
pkgname=gnome-disk-utility
-pkgver=3.24.1
+pkgver=3.26.0
pkgrel=1
pkgdesc="Disk Management Utility for GNOME"
url="https://git.gnome.org/browse/gnome-disk-utility"
@@ -12,8 +12,8 @@
license=(GPL)
groups=(gnome)
depends=(udisks2 gtk3 libsecret libpwquality libcanberra libdvdread libnotify parted)
-makedepends=(intltool docbook-xsl autoconf-archive appstream-glib git)
-_commit=11929ddb59d020df35bc73b6e7e4edfd8aa65a26 # tags/3.24.1^0
+makedepends=(docbook-xsl autoconf-archive appstream-glib git meson)
+_commit=7a2bd9cd695593b3fa36327241b55bcaa2111e17 # tags/3.26.0^0
source=("git+https://git.gnome.org/browse/gnome-disk-utility#commit=$_commit")
sha256sums=('SKIP')
@@ -23,23 +23,22 @@
}
prepare() {
+ mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd $pkgname
- ./configure --prefix=/usr --sysconfdir=/etc --disable-static --disable-Werror --libexecdir=/usr/lib/gnome-disk-utility
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ cd build
+ meson setup --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/gnome-disk-utility --buildtype=release ../$pkgname
+ ninja
}
check() {
- cd $pkgname
- make check
+ cd build
+ meson test
}
package() {
- cd "$pkgname"
- make DESTDIR="$pkgdir" install
+ cd build
+ DESTDIR="$pkgdir" ninja install
}
More information about the arch-commits
mailing list