extra/avahi to 0.7-4

This commit is contained in:
Kevin Mihelich 2018-01-24 13:48:33 +00:00
parent 41b399b03e
commit 31790ec156

View file

@ -9,7 +9,7 @@
pkgname=avahi
pkgver=0.7
pkgrel=2
pkgrel=4
pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
url='https://github.com/lathiat/avahi'
license=(LGPL)
@ -27,12 +27,11 @@ optdepends=('gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
'python-dbus: avahi-discover')
backup=(etc/avahi/{hosts,avahi-daemon.conf}
usr/lib/avahi/service-types.db)
options=(!emptydirs)
_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')
sha512sums=('SKIP'
'8cfc7c2cb0061e6348caa96b73bb6069efce5b4438962aa12448e46bc950a47c1f18059afbb1cacf7b2a1aa21f77025472532ad5e6eddb17834a8b1a34432226')
pkgver() {
cd $pkgname
@ -77,6 +76,8 @@ package() {
make DESTDIR="$pkgdir" -C avahi-python/avahi2 install \
PYTHON=/usr/bin/python2 pythondir=/usr/lib/python2.7/site-packages
rmdir "$pkgdir/run"
# this isn't ported
sed -i '1s|python3|python2|' "$pkgdir/usr/bin/avahi-bookmarks"