# $Id: PKGBUILD 13097 2008-09-25 22:11:54Z ronald $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=nfsidmap
pkgver=0.21
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')
license=('custom:nfsidmap')
options=(!libtool)
source=(http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz)
md5sums=('56b05e30645353befbf73bd905270d4b')

build() {
  cd $srcdir/lib$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make || return 1
  make DESTDIR=$pkgdir install || return 1

  # install license
  install -Dm644 COPYING \
	$pkgdir/usr/share/licenses/nfsidmap/LICENSE || return 1
}