[arch-commits] Commit in libnsl/repos (testing-x86_64 testing-x86_64/PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Thu Feb 3 21:28:33 UTC 2022
Date: Thursday, February 3, 2022 @ 21:28:33
Author: dvzrv
Revision: 436153
archrelease: copy trunk to testing-x86_64
Added:
libnsl/repos/testing-x86_64/
libnsl/repos/testing-x86_64/PKGBUILD
(from rev 436152, libnsl/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: libnsl/repos/testing-x86_64/PKGBUILD (from rev 436152, libnsl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-02-03 21:28:33 UTC (rev 436153)
@@ -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=2
+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)
+options=(debug)
+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() {
+ make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+ install -vDm 644 $pkgname-$pkgver/{AUTHORS,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list