summaryrefslogtreecommitdiff
path: root/extra/nss-mdns/PKGBUILD
blob: 6fe8d56538a2c289779950687d0aba23c34fd96b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 56016 2009-10-17 23:24:29Z giovanni $
# Contributor: Travis Willard <travis@archlinux.org>

pkgname=nss-mdns
pkgver=0.10
pkgrel=2
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 || return 1
  make DESTDIR=${pkgdir} install
  mkdir -p ${startdir}/pkg/etc
  install -m644 ../mdns.allow ${startdir}/pkg/etc/mdns.allow
}