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

Felix Yan felixonmars at archlinux.org
Sun Jul 3 13:33:19 UTC 2016


    Date: Sunday, July 3, 2016 @ 13:33:18
  Author: felixonmars
Revision: 181836

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

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

Copied: lib32-e2fsprogs/repos/multilib-testing-x86_64/PKGBUILD (from rev 181835, lib32-e2fsprogs/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2016-07-03 13:33:18 UTC (rev 181836)
@@ -0,0 +1,37 @@
+# $Id$
+# 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.43.1
+pkgrel=1
+pkgdesc="Ext2 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')
+source=("http://downloads.sourceforge.net/sourceforge/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz")
+sha1sums=('26b75c27ba434e72ef630b160782a01b4d992b7a')
+
+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