Date: Wednesday, May 16, 2018 @ 07:57:28
  Author: eworm
Revision: 322578

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 322577, lib32-e2fsprogs/trunk/PKGBUILD)

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

Copied: lib32-e2fsprogs/repos/multilib-testing-x86_64/PKGBUILD (from rev 
322577, lib32-e2fsprogs/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD                            (rev 0)
+++ multilib-testing-x86_64/PKGBUILD    2018-05-16 07:57:28 UTC (rev 322578)
@@ -0,0 +1,42 @@
+# $Id$
+# 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.44.2
+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=('8324cf0b6e81805a741d94087b00e99f7e16144f1ee5a413709a1fa6948b126c'
+            '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"
+}

Reply via email to