# $Id: PKGBUILD 222558 2014-09-22 06:04:37Z tpowa $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=nfsidmap
pkgver=0.26
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')
source=(https://fedorapeople.org/~steved/libnfsidmap/0.26/libnfsidmap-$pkgver.tar.bz2)

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=('2c0cf0e2b1665d51fa9a783679494888')
