summaryrefslogtreecommitdiff
path: root/extra/yp-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yp-tools/PKGBUILD')
-rw-r--r--extra/yp-tools/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/yp-tools/PKGBUILD b/extra/yp-tools/PKGBUILD
new file mode 100644
index 000000000..9d09fd38a
--- /dev/null
+++ b/extra/yp-tools/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 91704 2010-09-27 17:42:28Z bisson $
+# Maintainer: dorphell <dorphell@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=yp-tools
+pkgver=2.12
+pkgrel=1
+pkgdesc='Linux NIS Tools'
+arch=('i686' 'x86_64')
+url='http://www.linux-nis.org/nis/yp-tools/'
+license=('GPL2')
+depends=('ypbind-mt' 'glibc')
+source=("ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.gz")
+sha1sums=('10b0ef5d4c5723e0716d7a1431a900c0ba6ef703')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --disable-domainname
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}