nfsidmap 0.26

This commit is contained in:
AlmAck 2015-05-26 00:07:07 +02:00
parent 323a550b57
commit c14e6b7122

View File

@ -1,28 +1,25 @@
# $Id: PKGBUILD 52311 2009-09-17 07:29:57Z allan $
# Maintainer:
# Contributor: Judd <jvinet@zeroflux.org>
pkgname=nfsidmap
pkgver=0.23
pkgrel=4
pkgver=0.26
pkgrel=1
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
arch=('i686' 'x86_64')
arch=('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=('28f3ece648c1dc5d25e8d623d55f8bd6')
source=(https://fedorapeople.org/~steved/libnfsidmap/$pkgver/libnfsidmap-$pkgver.tar.bz2)
md5sums=('2c0cf0e2b1665d51fa9a783679494888')
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
make
}
package() {
cd $srcdir/lib$pkgname-$pkgver
make DESTDIR=$pkgdir install
# install license
install -Dm644 COPYING $pkgdir/usr/share/licenses/nfsidmap/LICENSE
}