summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 836f25ba2a42868fe7ce80f38b2cfebe4cc3a07a (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
29
30
31
32
33
34
35
36
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>

pkgname=libnsl-git
pkgver=1.3.0
pkgrel=1
pkgdesc='Public client interface library for NIS(YP) and NIS+'
arch=(x86_64)
url='https://github.com/thkukuk/libnsl'
license=('LGPL2.1')
depends=(libtirpc)
provides=(libnsl)
conflicts=(libnsl)
source=("git+https://github.com/thkukuk/libnsl.git")
md5sums=('SKIP')

pkgver() {
  cd libnsl
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd libnsl
}

build() {
  cd libnsl
  ./autogen.sh
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd libnsl
  make DESTDIR="$pkgdir" install
}