diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /core/nfsidmap/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'core/nfsidmap/PKGBUILD')
-rw-r--r-- | core/nfsidmap/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/core/nfsidmap/PKGBUILD b/core/nfsidmap/PKGBUILD new file mode 100644 index 000000000..f744598ce --- /dev/null +++ b/core/nfsidmap/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 111577 2011-02-27 18:55:50Z tpowa $ +# Maintainer: +# Contributor: Judd <jvinet@zeroflux.org> + +pkgname=nfsidmap +pkgver=0.24 +pkgrel=2 +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) +md5sums=('d71a1ee9881d5b5814ff3ec41256937d') + +build() { + cd $srcdir/lib$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd $srcdir/lib$pkgname-$pkgver + make DESTDIR=$pkgdir install + + # remove idmap manpage provided by nfs-utils! + rm $pkgdir/usr/share/man/man5/idmapd.conf.5 + + # install license + install -Dm644 COPYING $pkgdir/usr/share/licenses/nfsidmap/LICENSE +} |