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

Jan Steffens heftig at archlinux.org
Thu Mar 8 19:17:10 UTC 2018


    Date: Thursday, March 8, 2018 @ 19:17:09
  Author: heftig
Revision: 318265

0.27.1+3+gf82500d-1

Modified:
  dconf/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-08 19:17:01 UTC (rev 318264)
+++ PKGBUILD	2018-03-08 19:17:09 UTC (rev 318265)
@@ -3,7 +3,7 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=dconf
-pkgver=0.26.1
+pkgver=0.27.1+3+gf82500d
 pkgrel=1
 pkgdesc="Configuration database system"
 url="https://wiki.gnome.org/Projects/dconf"
@@ -10,8 +10,8 @@
 arch=(x86_64)
 license=(LGPL2.1)
 depends=(glib2)
-makedepends=(vala dbus git gtk-doc python)
-_commit=46d862f37c8d35012b23932a8fb9073826407087  # tags/0.26.1^0
+makedepends=(vala dbus git gtk-doc python meson)
+_commit=f82500d8cfccf4329ea0eedea07f1118264dc1ed  # master
 source=("git+https://git.gnome.org/browse/dconf#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -22,18 +22,21 @@
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/dconf --enable-gtk-doc
-  make
+  arch-meson $pkgname build -D enable-gtk-doc=true
+  ninja -C build
 }
 
+check() {
+  cd build
+  # dbus tests can't connect and dbus-run-session doesn't help
+  meson test || :
+}
+
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" ninja -C build install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list