summaryrefslogtreecommitdiffstats
path: root/abs/core/nss-mdns/PKGBUILD
blob: 5d3a2e47e3e0ac744b21991ca32d81380a038818 (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 150739 2012-02-21 17:19:59Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Travis Willard <travis@archlinux.org>

pkgname=nss-mdns
pkgver=0.10
pkgrel=5
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')
install=nss-mdns.install
source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}

md5sums=('03938f17646efbb50aa70ba5f99f51d7')