summaryrefslogtreecommitdiff
path: root/core/nfsidmap/PKGBUILD
blob: 90c961ae0b06fee2895c638b3abe8a934a70fd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 197833 2013-10-30 11:06:02Z allan $
# Maintainer: 
# Contributor: Judd <jvinet@zeroflux.org>

pkgname=nfsidmap
pkgver=0.25
pkgrel=2
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
depends=('glibc' 'libldap>=2.4.18')
license=('custom:nfsidmap')
source=(http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/libnfsidmap-$pkgver.tar.gz)

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