mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
26 lines
806 B
Bash
26 lines
806 B
Bash
# Maintainer:
|
|
# Contributor: Judd <jvinet@zeroflux.org>
|
|
|
|
pkgname=nfsidmap
|
|
pkgver=0.23
|
|
pkgrel=3
|
|
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
|
|
arch=('arm')
|
|
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=('28f3ece648c1dc5d25e8d623d55f8bd6')
|
|
|
|
build() {
|
|
cd $srcdir/lib$pkgname-$pkgver
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
# remove idmap manpage provided by nfs-utils!
|
|
rm $pkgdir/usr/share/man/man5/idmapd.conf.5 || return 1
|
|
# install license
|
|
install -Dm644 COPYING \
|
|
$pkgdir/usr/share/licenses/nfsidmap/LICENSE || return 1
|
|
}
|