# $Id: PKGBUILD 184214 2013-05-03 22:54:48Z tomegun $ # Maintainer: Tom Gundersen # Contributor: Gaetan Bisson # Contributor: judd # Contributor: Tom Newsom pkgname=ypbind-mt pkgver=1.37.1 pkgrel=4 pkgdesc='Linux NIS daemon' url='http://www.linux-nis.org/nis/ypbind-mt/' license=('GPL2') arch=('i686' 'x86_64') makedepends=('networkmanager') depends=('rpcbind' 'openslp' 'yp-tools') backup=('etc/yp.conf') source=("http://www.linux-nis.org/download/${pkgname}/${pkgname}-${pkgver}.tar.bz2" 'ypbind.service') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ --prefix=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service install -d -m755 "${pkgdir}"/var/yp/binding } md5sums=('8af8d35e7b9a7fcc3a1576697a04bd82' '9083debd16fc49c6645372caa25969b5')