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

Jan Steffens heftig at archlinux.org
Tue Jul 11 20:40:23 UTC 2017


    Date: Tuesday, July 11, 2017 @ 20:40:22
  Author: heftig
Revision: 300123

0.7-1

Modified:
  avahi/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-11 20:35:15 UTC (rev 300122)
+++ PKGBUILD	2017-07-11 20:40:22 UTC (rev 300123)
@@ -4,9 +4,8 @@
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=avahi
-pkgver=0.6.32
-pkgrel=3
-_commit=6242e5f0fe001b7de2ccaa9431db279b2ee76b83  # tags/v0.7
+pkgver=0.7
+pkgrel=1
 pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
 url='https://github.com/lathiat/avahi'
 license=(LGPL)
@@ -26,11 +25,16 @@
 install=avahi.install
 backup=(etc/avahi/{hosts,avahi-daemon.conf}
         usr/lib/avahi/service-types.db usr/share/avahi/service-types)
-source=("git+$url#commit=$_commit"
+_commit=6242e5f0fe001b7de2ccaa9431db279b2ee76b83  # tags/v0.7
+source=("git+https://github.com/lathiat/avahi#commit=$_commit"
         0001-avahi-python-Use-the-agnostic-DBM-interface.patch)
 sha256sums=('SKIP'
             '5e2347d73349cee56c17ef53b69418d0b083e2fe26d19af61ef2ba55ef43cf16')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
 
 prepare() {
   cd $pkgname



More information about the arch-commits mailing list