summaryrefslogtreecommitdiff
path: root/extra/yp-tools/PKGBUILD
blob: 58f32b083f7a13da0fc61d730ba05c89227bec89 (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
# $Id: PKGBUILD 162166 2012-06-22 13:00:08Z dreisner $
# Mantainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=yp-tools
pkgver=2.12
pkgrel=3
pkgdesc='Linux NIS Tools'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/yp-tools/'
license=('GPL2')
depends=('ypbind-mt')
#source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz")
source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
	'domainname.service')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
	install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/service/domainname.service"
}
md5sums=('ce1e06d86caa285fa8cd76fdf103f51e'
         '8d354b76eb0df9a3b06637bfff87453b')