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

Jan Steffens heftig at archlinux.org
Tue Sep 27 19:34:14 UTC 2016


    Date: Tuesday, September 27, 2016 @ 19:34:14
  Author: heftig
Revision: 277124

3.20.0+6+g3bac4f9-1

Modified:
  gnome-bluetooth/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-09-27 19:29:19 UTC (rev 277123)
+++ PKGBUILD	2016-09-27 19:34:14 UTC (rev 277124)
@@ -1,9 +1,9 @@
 # $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
 # Contributor: Roman Kyrylych <roman at archlinux.org>
 
 pkgname=gnome-bluetooth
-pkgver=3.20.0
+pkgver=3.20.0+6+g3bac4f9
 pkgrel=1
 pkgdesc="The GNOME Bluetooth Subsystem"
 url="https://wiki.gnome.org/Projects/GnomeBluetooth"
@@ -11,12 +11,17 @@
 license=(GPL LGPL)
 depends=(gtk3 libnotify bluez libcanberra)
 makedepends=(intltool gobject-introspection itstool docbook-xsl gnome-common git)
-options=(!emptydirs)
-source=("git://git.gnome.org/$pkgname#tag=GNOMEBT_V_${pkgver//./_}"
+_commit=3bac4f939b70e1f6c8f557e4b996a01fdfe9bef3  # master
+source=("git://git.gnome.org/gnome-bluetooth#commit=$_commit"
         61-gnome-bluetooth-rfkill.rules)
 sha256sums=('SKIP'
             '8dd2d3637f380a89e72f65e6c8021e994ccbdc645f1a1b1dbffe74ac9f061f53')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^GNOMEBT_V_//;s/_/./g;s/-/+/g'
+}
+
 prepare() {
   cd $pkgname
   NOCONFIGURE=1 ./autogen.sh



More information about the arch-commits mailing list