abinfo "Installing symlinks for avahi-compat-howl ..."
ln -sv avahi-compat-howl \
    "$PKGDIR"/usr/include/howl
ln -sv avahi-compat-howl.pc \
    "$PKGDIR"/usr/lib/pkgconfig/howl.pc

abinfo "Installing symlinks for avahi-compat-libdns_sd ..."
ln -sv avahi-compat-libdns_sd.pc \
    "$PKGDIR"/usr/lib/pkgconfig/libdns_sd.pc
ln -sv avahi-compat-libdns_sd/dns_sd.h \
    "$PKGDIR"/usr/include/dns_sd.h

abinfo "Moving services as examples ..."
install -d "$PKGDIR"/usr/share/doc/avahi
mv -v "$PKGDIR"/etc/avahi/services/{,sftp-}ssh.service \
    "$PKGDIR"/usr/share/doc/avahi/

abinfo "Installing rundir ..."
mkdir -pv "$PKGDIR"/run/avahi-daemon
chown -v 84:84 "$PKGDIR"/run/avahi-daemon
