diff options
author | root <root@rshg047.dnsready.net> | 2011-05-17 22:43:03 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-17 22:43:03 +0000 |
commit | 4a67ab8a761f1d0ef59988a513f9f2163f94a869 (patch) | |
tree | ef060a1cf768b53a89958df6252193bda9c86d25 /extra/nss-mdns | |
parent | 2f0d12506e7145c0fe4c056e4fbcda1e724dda95 (diff) |
Tue May 17 22:43:03 UTC 2011
Diffstat (limited to 'extra/nss-mdns')
-rw-r--r-- | extra/nss-mdns/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/nss-mdns/nss-mdns.install | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/extra/nss-mdns/PKGBUILD b/extra/nss-mdns/PKGBUILD index 6fe8d5653..643dac89f 100644 --- a/extra/nss-mdns/PKGBUILD +++ b/extra/nss-mdns/PKGBUILD @@ -1,30 +1,34 @@ -# $Id: PKGBUILD 56016 2009-10-17 23:24:29Z giovanni $ +# $Id: PKGBUILD 124100 2011-05-16 15:17:50Z andrea $ +# Maintainer: # Contributor: Travis Willard <travis@archlinux.org> pkgname=nss-mdns pkgver=0.10 -pkgrel=2 +pkgrel=3 pkgdesc="glibc plugin providing host name resolution via mDNS" arch=('i686' 'x86_64') url="http://0pointer.de/lennart/projects/nss-mdns/" -license=('lgpl') +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) +source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'mdns.allow') md5sums=('03938f17646efbb50aa70ba5f99f51d7' '904abb492fb1f56722826c0c3a997bf0') build() { - cd ${srcdir}/${pkgname}-${pkgver} + 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 + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}"/mdns.allow "${pkgdir}"/etc/mdns.allow } diff --git a/extra/nss-mdns/nss-mdns.install b/extra/nss-mdns/nss-mdns.install index ed0fd0c24..85e4d269a 100644 --- a/extra/nss-mdns/nss-mdns.install +++ b/extra/nss-mdns/nss-mdns.install @@ -18,7 +18,3 @@ EOM post_install } - -op=$1 -shift -$op $* |