summaryrefslogtreecommitdiff
path: root/testing/nfsidmap/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nfsidmap/PKGBUILD')
-rw-r--r--testing/nfsidmap/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/nfsidmap/PKGBUILD b/testing/nfsidmap/PKGBUILD
new file mode 100644
index 000000000..17f3e5580
--- /dev/null
+++ b/testing/nfsidmap/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 166728 2012-09-17 05:20:12Z tpowa $
+# Maintainer:
+# Contributor: Judd <jvinet@zeroflux.org>
+
+pkgname=nfsidmap
+pkgver=0.25
+pkgrel=1
+pkgdesc="Library to help mapping IDs, mainly for NFSv4"
+arch=('i686' 'x86_64')
+url="http://www.citi.umich.edu/projects/nfsv4/linux/"
+depends=('glibc' 'libldap>=2.4.18')
+license=('custom:nfsidmap')
+options=(!libtool)
+source=(http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz)
+
+build() {
+ cd $srcdir/lib$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd $srcdir/lib$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # install license
+ install -Dm644 COPYING $pkgdir/usr/share/licenses/nfsidmap/LICENSE
+}
+md5sums=('2ac4893c92716add1a1447ae01df77ab')