[arch-commits] Commit in avahi/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Wed Jan 20 23:53:25 UTC 2016
Date: Thursday, January 21, 2016 @ 00:53:25
Author: heftig
Revision: 258457
Move example SSH services
Modified:
avahi/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-20 23:48:14 UTC (rev 258456)
+++ PKGBUILD 2016-01-20 23:53:25 UTC (rev 258457)
@@ -5,8 +5,8 @@
pkgname=avahi
pkgver=0.6.32rc
-pkgrel=3
-_commit=bc4e85846991d0efca89add631c7cd16033f0bef
+pkgrel=4
+_commit=dbb07bea8d315b76f94b16e55a1c2b2cc8ddd91f
pkgdesc='Multicast DNS-SD / Zeroconf Suite'
#url='http://www.avahi.org/'
url='http://git.0pointer.net/avahi.git'
@@ -26,10 +26,9 @@
conflicts=(howl mdnsresponder)
provides=(howl mdnsresponder)
install=avahi.install
-options=(!emptydirs)
-backup=(etc/avahi/{hosts,avahi-daemon.conf,services/{ssh,sftp-ssh}.service}
+backup=(etc/avahi/{hosts,avahi-daemon.conf}
usr/lib/avahi/service-types.db usr/share/avahi/service-types)
-source=("git+https://github.com/heftig/avahi#commit=$_commit")
+source=("git+https://github.com/lathiat/avahi#commit=$_commit")
sha256sums=('SKIP')
@@ -75,4 +74,11 @@
# mdnsresponder compat
ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir/usr/include/dns_sd.h"
+
+ # move example services https://bugs.archlinux.org/task/47822
+ install -d "$pkgdir/usr/share/doc/$pkgname"
+ mv "$pkgdir"/etc/avahi/services/{,sftp-}ssh.service \
+ "$pkgdir/usr/share/doc/$pkgname/"
+
+ rmdir "$pkgdir"/var{/run,}
}
More information about the arch-commits
mailing list