summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avahi/Pkgfile')
-rw-r--r--extra/avahi/Pkgfile17
1 files changed, 4 insertions, 13 deletions
diff --git a/extra/avahi/Pkgfile b/extra/avahi/Pkgfile
index 8a62e39a0..171e0306d 100644
--- a/extra/avahi/Pkgfile
+++ b/extra/avahi/Pkgfile
@@ -7,9 +7,9 @@
name=avahi
version=0.6.25
-release=1
+release=2
source=(http://www.avahi.org/download/avahi-$version.tar.gz\
- avahid network-wired.png)
+ network-wired.png)
build() {
cd $name-$version
@@ -29,18 +29,9 @@ build() {
--enable-autoipd
make
make DESTDIR=$PKG install
- mkdir -v -p $PKG/etc/rc.d/init.d
- mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
mkdir -v -p $PKG/usr/share/pixmaps
install -m 644 ../network-wired.png \
$PKG/usr/share/pixmaps/network-wired.png
- install -D -m755 ../avahid $PKG/etc/rc.d/init.d/avahid
-
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc3.d/S43avahid
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc5.d/S43avahid
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc4.d/S43avahid
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc0.d/K13avahid
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc1.d/K13avahid
- ln -svf ../init.d/avahid $PKG/etc/rc.d/rc6.d/K13avahid
-
+ rm -r $PKG/{etc/avahi,var,usr/share/man/man8,usr/sbin}
+
}