summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2021-01-08 21:40:39 -0500
committerVincent Grande2021-01-08 21:40:39 -0500
commitf372d951afea65fe74882f1edb495ab74e43425f (patch)
tree89302c006a1e97580d26ebf163860d5e9136da12
downloadaur-f372d951afea65fe74882f1edb495ab74e43425f.tar.gz
initial upload
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD36
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b630c701a43
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = libnsl-git
+ pkgdesc = Public client interface library for NIS(YP) and NIS+
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = https://github.com/thkukuk/libnsl
+ arch = x86_64
+ license = LGPL2.1
+ depends = libtirpc
+ provides = libnsl
+ conflicts = libnsl
+ source = git+https://github.com/thkukuk/libnsl.git
+
+pkgname = libnsl-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..423f471d22a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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=('a7ab1d3e2a685edad1a55857bfccf318')
+
+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
+}