[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Apr 16 18:58:59 UTC 2018


    Date: Monday, April 16, 2018 @ 18:58:59
  Author: alucryd
Revision: 316552

Add lib32-libnsl

Added:
  lib32-libnsl/
  lib32-libnsl/trunk/
  lib32-libnsl/trunk/PKGBUILD

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

Added: lib32-libnsl/trunk/PKGBUILD
===================================================================
--- lib32-libnsl/trunk/PKGBUILD	                        (rev 0)
+++ lib32-libnsl/trunk/PKGBUILD	2018-04-16 18:58:59 UTC (rev 316552)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=lib32-libnsl
+pkgver=1.2.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=('lib32-libtirpc' 'libnsl')
+makedepends=('gcc-multilib')
+source=("libnsl-${pkgver}.tar.gz::https://github.com/thkukuk/libnsl/archive/v${pkgver}.tar.gz")
+sha256sums=('a5a28ef17c4ca23a005a729257c959620b09f8c7f99d0edbfe2eb6b06bafd3f8')
+
+prepare() {
+  cd libnsl-${pkgver}
+
+  ./autogen.sh
+}
+
+build() {
+  cd libnsl-${pkgver}
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkg-config'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-static
+  make
+}
+
+package() {
+  cd libnsl-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: lib32-libnsl/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list