# $Id: PKGBUILD 185611 2013-05-15 22:57:01Z tomegun $ # Maintainer: Tom Gundersen # Contributor: Gaetan Bisson # Contributor: judd # Contributor: Tom Newsom pkgname=ypbind-mt pkgver=1.37.1 pkgrel=5 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' 'systemd') 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 \ --sbindir=/usr/bin 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' '5ea205756731c2978cca4934141424bd')