[arch-commits] Commit in lib32-libnsl/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Apr 12 08:50:00 UTC 2021
Date: Monday, April 12, 2021 @ 08:49:59
Author: dvzrv
Revision: 915861
upgpkg: lib32-libnsl 1.3.0-2: Rebuild to add soprovides.
Build from source tarball for checksum verification.
Add libnsl.so to provides.
Make dependency on libnsl more specific.
Update maintainer info.
Modified:
lib32-libnsl/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-12 07:48:28 UTC (rev 915860)
+++ PKGBUILD 2021-04-12 08:49:59 UTC (rev 915861)
@@ -1,36 +1,32 @@
# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+_name=libnsl
pkgname=lib32-libnsl
pkgver=1.3.0
-pkgrel=1
+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=(
+ lib32-glibc
lib32-libtirpc
- libnsl
+ "libnsl=${pkgver}"
)
-makedepends=(git)
-_tag=fbad7b36acaa89a54023930af70805649f962999
-source=(git+https://github.com/thkukuk/libnsl.git#tag=${_tag})
-sha256sums=(SKIP)
+provides=('libnsl.so')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thkukuk/${_name}/archive/v${pkgver}.tar.gz")
+sha512sums=('ce75ee9e54f1bdd2b31886e8157ff5f654511c3da017e0d9f8d0da6a2a9f9a78ff2e5f72cfb7ce3a23065f57337db51e3c8842a7e990350a62612018f4960342')
+b2sums=('d5116c2837a7ed5d5916d571d2e5deaf733b2e3e4401c2ebb0ec253d2755c2dc169139ea64756bd4ab28e3107f9ff1dcdd5ef6657828862a95ca18f2f145e3b3')
-pkgver() {
- cd libnsl
-
- git describe --tags | sed 's/^v//'
-}
-
prepare() {
- cd libnsl
-
+ cd "$_name-$pkgver"
autoreconf -fiv
}
build() {
- cd libnsl
+ cd "$_name-$pkgver"
export CC='gcc -m32'
export CXX='g++ -m32'
@@ -44,7 +40,8 @@
}
package() {
- make DESTDIR="${pkgdir}" -C libnsl install
+ cd "$_name-$pkgver"
+ make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/include
}
More information about the arch-commits
mailing list