Date: Monday, July 15, 2019 @ 07:03:18 Author: eworm Revision: 489768
archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-e2fsprogs/repos/multilib-testing-x86_64/ lib32-e2fsprogs/repos/multilib-testing-x86_64/PKGBUILD (from rev 489767, lib32-e2fsprogs/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: lib32-e2fsprogs/repos/multilib-testing-x86_64/PKGBUILD (from rev 489767, lib32-e2fsprogs/trunk/PKGBUILD) =================================================================== --- multilib-testing-x86_64/PKGBUILD (rev 0) +++ multilib-testing-x86_64/PKGBUILD 2019-07-15 07:03:18 UTC (rev 489768) @@ -0,0 +1,41 @@ +# Maintainer: Ionut Biru <ib...@archlinux.org> +# Contributor: mightyjaym <jm.ambros...@free.fr> +# Contributor: Mikko Seppälä <t-r-...@mbnet.fi> + +_pkgbasename=e2fsprogs +pkgname=lib32-e2fsprogs +pkgver=1.45.3 +pkgrel=1 +pkgdesc="Ext2/3/4 filesystem libraries (32-bit)" +arch=('x86_64') +license=('GPL' 'LGPL' 'MIT') +url="http://e2fsprogs.sourceforge.net" +depends=('lib32-util-linux' $_pkgbasename) +makedepends=('bc' 'gcc-multilib') +validpgpkeys=('3AB057B7E78D945C8C5591FBD36F769BC11804F0') # Theodore Ts'o <ty...@mit.edu> +source=("https://www.kernel.org/pub/linux/kernel/people/tytso/${_pkgbasename}/v${pkgver}/${_pkgbasename}-${pkgver}.tar."{xz,sign}) +sha256sums=('90d10066b815e27b0b4875f0d5e396c663e0bf55aa3ca10868978d10c6ffe595' + 'SKIP') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/${_pkgbasename}-${pkgver}" + ./configure --prefix=/usr \ + --libdir=/usr/lib32 \ + --with-root-prefix="" \ + --enable-elf-shlibs \ + --disable-{debugfs,imager,resizer,fsck,uuidd,libuuid,libblkid} + make +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + make DESTDIR="${pkgdir}" install-libs + + rm -rf "${pkgdir}"/usr/{bin,include,share} + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +}