git » avahi.git » commit f383791

0.7-4: FS#56989 Restore services dir

author Jan Alexander Steffens
2018-01-09 01:49:07 UTC
committer Jan Alexander Steffens
2018-01-09 01:49:07 UTC
parent 38fea0806442a0d7ad0c949b715822710cf3dfa9

0.7-4: FS#56989 Restore services dir

PKGBUILD +3 -2

diff --git a/PKGBUILD b/PKGBUILD
index 78ed37c..280ecc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=avahi
 pkgver=0.7
-pkgrel=3
+pkgrel=4
 pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
 url='https://github.com/lathiat/avahi'
 license=(LGPL)
@@ -23,7 +23,6 @@ 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)
@@ -72,6 +71,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"