Date: Sunday, February 12, 2023 @ 09:31:55 Author: eworm Revision: 1399936
archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-acl/repos/multilib-testing-x86_64/ lib32-acl/repos/multilib-testing-x86_64/PKGBUILD (from rev 1399935, lib32-acl/trunk/PKGBUILD) lib32-acl/repos/multilib-testing-x86_64/keys/ ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: lib32-acl/repos/multilib-testing-x86_64/PKGBUILD (from rev 1399935, lib32-acl/trunk/PKGBUILD) =================================================================== --- multilib-testing-x86_64/PKGBUILD (rev 0) +++ multilib-testing-x86_64/PKGBUILD 2023-02-12 09:31:55 UTC (rev 1399936) @@ -0,0 +1,40 @@ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=lib32-acl +pkgver=2.3.1 +pkgrel=2 +pkgdesc='Access control list libraries (32-bit)' +arch=('x86_64') +url='https://savannah.nongnu.org/projects/acl' +license=('LGPL') +depends=('acl') +makedepends=('gcc-multilib' 'lib32-attr') +provides=('libacl.so') +validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <bran...@ifup.co> + 'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vap...@gentoo.org> + '259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbac...@gmail.com> +source=("https://download.savannah.gnu.org/releases/acl/acl-${pkgver}.tar.gz"{,.sig}) +sha256sums=('760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af' + 'SKIP') + +build() { + cd "${srcdir}"/acl-${pkgver} + + export CC="gcc -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + --libexecdir=/usr/lib32 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd "${srcdir}"/acl-${pkgver} + + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/{bin,include,share} +}