summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-06-07 02:32:35 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-06-07 02:32:35 (GMT)
commit592c86a348e4b9c01d952a7b8d8c4034ca698a2d (patch)
tree2833fccf5e8a421d6fa48ba1cac47dfe45b5bf35 /abs/core
parenta9fa605b48550b04e845146db013f9585ad5beae (diff)
downloadlinhes_pkgbuild-592c86a348e4b9c01d952a7b8d8c4034ca698a2d.zip
linhes_pkgbuild-592c86a348e4b9c01d952a7b8d8c4034ca698a2d.tar.gz
linhes_pkgbuild-592c86a348e4b9c01d952a7b8d8c4034ca698a2d.tar.bz2
libnsl: 1.2.0
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/libnsl/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core/libnsl/PKGBUILD b/abs/core/libnsl/PKGBUILD
new file mode 100644
index 0000000..8445f4d
--- /dev/null
+++ b/abs/core/libnsl/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+
+pkgname=libnsl
+pkgver=1.2.0
+pkgrel=2
+pkgdesc='Public client interface library for NIS(YP) and NIS+'
+arch=(x86_64)
+url='https://github.com/thkukuk/libnsl'
+license=('LGPL2.1')
+depends=(libtirpc)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
+md5sums=('05222024777e12e2f6d48f2e7d067ac7')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}