[arch-commits] Commit in lib32-e2fsprogs/repos (2 files)

Christian Hesse eworm at archlinux.org
Tue May 28 07:33:04 UTC 2019


    Date: Tuesday, May 28, 2019 @ 07:33:04
  Author: eworm
Revision: 472252

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

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

Copied: lib32-e2fsprogs/repos/multilib-testing-x86_64/PKGBUILD (from rev 472251, lib32-e2fsprogs/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2019-05-28 07:33:04 UTC (rev 472252)
@@ -0,0 +1,41 @@
+# Maintainer:  Ionut Biru <ibiru at archlinux.org>
+# Contributor: mightyjaym <jm.ambrosino at free.fr>
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+
+_pkgbasename=e2fsprogs
+pkgname=lib32-e2fsprogs
+pkgver=1.45.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 <tytso at mit.edu>
+source=("https://www.kernel.org/pub/linux/kernel/people/tytso/${_pkgbasename}/v${pkgver}/${_pkgbasename}-${pkgver}.tar."{xz,sign})
+sha256sums=('4952c9ae91e36d762e13cc5b9e8f7eeb5453e4aee4cd9b7402e73f2d4e65e009'
+            '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"
+}



More information about the arch-commits mailing list