jobcore/nfsidmap/PKGBUILD
2022-03-20 14:19:37 +02:00

34 lines
1,017 B
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=nfsidmap
pkgver=0.26
pkgrel=01
pkgdesc="Library to help mapping IDs, mainly for NFSv4"
arch=('x86_64')
url="http://www.citi.umich.edu/projects/nfsv4/linux/"
depends=('glibc' 'libldap>=2.4.18')
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
}
#---- license gpg-key sha256sums ----
license=('custom:nfsidmap')
sha256sums=(391cd35a8aa48bcba1678b483c3e2525d0990eca963bb035962fcf1e3ee2a8bf) # libnfsidmap-0.26.tar.bz2