# $Id: PKGBUILD 150570 2012-02-18 15:06:04Z pierre $ # Maintainer: # Contributor: Travis Willard pkgname=nss-mdns pkgver=0.10 pkgrel=4 pkgdesc="glibc plugin providing host name resolution via mDNS" arch=('i686' 'x86_64') url="http://0pointer.de/lennart/projects/nss-mdns/" license=('LGPL') depends=('glibc') makedepends=('pkgconfig') backup=('etc/mdns.allow') install=nss-mdns.install source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'mdns.allow') md5sums=('03938f17646efbb50aa70ba5f99f51d7' '904abb492fb1f56722826c0c3a997bf0') build() { cd "${srcdir}"/${pkgname}-${pkgver} ./configure --prefix=/ \ --disable-lynx \ --enable-avahi make } package() { cd "${srcdir}"/${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 "${srcdir}"/mdns.allow "${pkgdir}"/etc/mdns.allow }