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

Jan de Groot jgc at archlinux.org
Tue Sep 20 10:04:14 UTC 2016


    Date: Tuesday, September 20, 2016 @ 10:04:14
  Author: jgc
Revision: 276732

upgpkg: dconf 0.26.0-1

Modified:
  dconf/trunk/PKGBUILD
Deleted:
  dconf/trunk/dconf.install

---------------+
 PKGBUILD      |   25 ++++++++++++++++++-------
 dconf.install |   11 -----------
 2 files changed, 18 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-20 09:54:11 UTC (rev 276731)
+++ PKGBUILD	2016-09-20 10:04:14 UTC (rev 276732)
@@ -4,24 +4,35 @@
 
 pkgname=dconf
 pkgver=0.26.0
-pkgrel=2
+pkgrel=1
 pkgdesc="Configuration database system"
 arch=(i686 x86_64)
 url="https://wiki.gnome.org/Projects/dconf"
 license=(LGPL2.1)
 depends=(glib2)
-makedepends=(vala intltool docbook-xsl python)
-source=(http://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
-sha256sums=('8683292eb31a3fae31e561f0a4220d8569b0f6d882e9958b68373f9043d658c9')
+makedepends=(vala dbus git gtk-doc python)
+_commit=102bb4a209e4195cb8fe7bb67406458b6841a8c2
+source=("git://git.gnome.org/dconf#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/dconf
+  cd $pkgname
+  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/dconf --enable-gtk-doc
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install \
     completiondir=/usr/share/bash-completion/completions
 }

Deleted: dconf.install
===================================================================
--- dconf.install	2016-09-20 09:54:11 UTC (rev 276731)
+++ dconf.install	2016-09-20 10:04:14 UTC (rev 276732)
@@ -1,11 +0,0 @@
-post_install() {
-  gio-querymodules /usr/lib/gio/modules
-}
-
-post_upgrade(){
-  post_install
-}
-
-post_remove() {
-  post_install
-}



More information about the arch-commits mailing list