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

Jan Steffens heftig at archlinux.org
Tue Nov 29 11:30:15 UTC 2016


    Date: Tuesday, November 29, 2016 @ 11:30:15
  Author: heftig
Revision: 282323

1.10.14-1

Modified:
  dbus/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-29 09:10:47 UTC (rev 282322)
+++ PKGBUILD	2016-11-29 11:30:15 UTC (rev 282323)
@@ -6,7 +6,7 @@
 
 pkgbase=dbus
 pkgname=(dbus dbus-docs)
-pkgver=1.10.12
+pkgver=1.10.14
 pkgrel=1
 pkgdesc="Freedesktop.org message bus system"
 url="https://wiki.freedesktop.org/www/Software/dbus/"
@@ -13,23 +13,28 @@
 arch=(i686 x86_64)
 license=(GPL custom)
 depends=(libsystemd expat)
-makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen)
-source=(https://dbus.freedesktop.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz{,.asc}
+makedepends=(systemd xmlto docbook-xsl python yelp-tools doxygen git)
+_commit=449d6b313d2023360cf0af063cf23232901dd00b  # tags/dbus-1.10.14^0
+source=("git+https://anongit.freedesktop.org/git/dbus/dbus#commit=$_commit"
         0001-Drop-Install-sections-from-user-services.patch)
-sha256sums=('210a79430b276eafc6406c71705e9140d25b9956d18068df98a70156dc0e475d'
-            'SKIP'
+sha256sums=('SKIP'
             '48135124680bd9ea2d7d2bd2a9f457608d97bd9aa7cb4f4396e26a1c2c91af3e')
 validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90'  # Simon McVittie <simon.mcvittie at collabora.co.uk>
               '3C8672A0F49637FE064AC30F52A43A1E4B77B059') # Simon McVittie <simon.mcvittie at collabora.co.uk>
 
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/^dbus-//;s/-/+/g'
+}
+
 prepare() {
-  cd $pkgbase-$pkgver
+  cd $pkgbase
   patch -Np1 -i ../0001-Drop-Install-sections-from-user-services.patch
-  autoreconf -fvi
+  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgbase-$pkgver
+  cd $pkgbase
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
       --libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=dbus \
       --with-system-pid-file=/run/dbus/pid \
@@ -43,7 +48,7 @@
 }
 
 check() {
-  cd $pkgbase-$pkgver
+  cd $pkgbase
   make check
 }
 
@@ -52,7 +57,7 @@
   conflicts=(libdbus)
   replaces=(libdbus)
 
-  cd $pkgbase-$pkgver
+  cd $pkgbase
 
   make DESTDIR="$pkgdir" install
 



More information about the arch-commits mailing list