[arch-commits] Commit in libnsl/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Feb 3 21:28:23 UTC 2022


    Date: Thursday, February 3, 2022 @ 21:28:22
  Author: dvzrv
Revision: 436152

upgpkg: libnsl 2.0.0-2: Rebuild to add debug package.

Simplify quoting in file.

Modified:
  libnsl/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-03 21:28:08 UTC (rev 436151)
+++ PKGBUILD	2022-02-03 21:28:22 UTC (rev 436152)
@@ -3,13 +3,14 @@
 
 pkgname=libnsl
 pkgver=2.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Public client interface library for NIS(YP)"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/thkukuk/libnsl"
-license=('LGPL2.1')
-depends=('glibc' 'libtirpc')
-provides=('libnsl.so')
+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')
@@ -26,7 +27,6 @@
 }
 
 package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-  install -vDm 644 {AUTHORS,NEWS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  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