blob: 27fb1b8feafcf56373f2ab452f81595e903c32ab (
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
31
32
33
34
35
36
37
38
39
40
|
# $Id: PKGBUILD 184214 2013-05-03 22:54:48Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
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' 'mips64el')
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 \
--build=$CHOST
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')
|