author | Jan Alexander Steffens
<heftig@archlinux.org> 2017-07-11 20:40:22 UTC |
committer | Jan Alexander Steffens
<heftig@archlinux.org> 2017-07-11 20:40:22 UTC |
parent | 08fe534a5117967ed270dc7b87017160fb57d3bd |
PKGBUILD | +8 | -4 |
diff --git a/PKGBUILD b/PKGBUILD index c7effa0..6bb588d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,9 +3,8 @@ # Contributor: Douglas Soares de Andrade <douglas@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) @@ -25,11 +24,16 @@ optdepends=('gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc 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