[arch-commits] Commit in libnsl/repos (staging-x86_64 staging-x86_64/PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Aug 19 22:07:52 UTC 2021


    Date: Thursday, August 19, 2021 @ 22:07:51
  Author: dvzrv
Revision: 422385

archrelease: copy trunk to staging-x86_64

Added:
  libnsl/repos/staging-x86_64/
  libnsl/repos/staging-x86_64/PKGBUILD
    (from rev 422384, libnsl/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: libnsl/repos/staging-x86_64/PKGBUILD (from rev 422384, libnsl/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-08-19 22:07:51 UTC (rev 422385)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=libnsl
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Public client interface library for NIS(YP)"
+arch=('x86_64')
+url="https://github.com/thkukuk/libnsl"
+license=('LGPL2.1')
+depends=('glibc' 'libtirpc')
+provides=('libnsl.so')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('86a7738707a3e4e56b60c8de0445fb576e66148bc12fa2a6aab422ea81eb4b42be3287a12f78384acd2b8bfb3885e9a0ce4f7328f078da3a5099acb66a35a935')
+b2sums=('e16bba0d64afa3c1473be831fa9fa743e88323091a4ee62436383169d282b1ad6deab3ff1f9462828c88e443a4b9b913ac18b36c68664593a6a80dae25988b7d')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -fiv
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  install -vDm 644 {AUTHORS,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list