Date: Friday, May 29, 2020 @ 16:23:46 Author: alucryd Revision: 637168
archrelease: copy trunk to multilib-x86_64 Added: lib32-libnsl/repos/multilib-x86_64/PKGBUILD (from rev 637167, lib32-libnsl/trunk/PKGBUILD) Deleted: lib32-libnsl/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 97 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 53 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-29 16:23:41 UTC (rev 637167) +++ PKGBUILD 2020-05-29 16:23:46 UTC (rev 637168) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@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: Copied: lib32-libnsl/repos/multilib-x86_64/PKGBUILD (from rev 637167, lib32-libnsl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-29 16:23:46 UTC (rev 637168) @@ -0,0 +1,53 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgname=lib32-libnsl +pkgver=1.2.0 +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-libtirpc + libnsl +) +makedepends=(git) +source=(git+https://github.com/thkukuk/libnsl.git#tag=113d92f29bcb778fcaa9c2a18e48bce53729ea54) +sha256sums=(SKIP) + +pkgver() { + cd libnsl + + git describe --tags | sed 's/^v//' +} + +prepare() { + cd libnsl + + git cherry-pick -n a40f7c511765e2e0c4d710d45b7d8363c18c70f8 + sed 's/0.19/0.20/g' -i po/Makefile.in.in + + ./autogen.sh +} + +build() { + cd libnsl + + 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() { + make DESTDIR="${pkgdir}" -C libnsl install + rm -rf "${pkgdir}"/usr/include +} + +# vim: ts=2 sw=2 et: