1 # Maintainer: Ionut Biru <ibiru@archlinux.org>
2 # Contributor: mightyjaym <jm.ambrosino@free.fr>
3 # Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi>
5 pkgname=lib32-e2fsprogs
8 pkgdesc='Ext2/3/4 filesystem libraries (32-bit)'
10 license=('GPL' 'LGPL' 'MIT')
11 url='http://e2fsprogs.sourceforge.net'
12 depends=('lib32-glibc' 'e2fsprogs')
13 makedepends=('bc' 'lib32-util-linux' 'gcc-multilib')
14 provides=('libcom_err.so'
18 validpgpkeys=('3AB057B7E78D945C8C5591FBD36F769BC11804F0') # Theodore Ts'o <tytso@mit.edu>
19 source=("https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${pkgver}/e2fsprogs-${pkgver}.tar."{xz,sign})
20 sha256sums=('144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db'
26 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
28 cd "${srcdir}/e2fsprogs-${pkgver}"
30 ./configure --prefix=/usr \
32 --with-root-prefix='' \
34 --disable-{debugfs,imager,resizer,fsck,uuidd,libuuid,libblkid}
39 cd "${srcdir}/e2fsprogs-${pkgver}"
41 make DESTDIR="${pkgdir}" install-libs
43 rm -rf "${pkgdir}"/usr/{bin,include,share}
44 mkdir -p "${pkgdir}"/usr/share/licenses
45 ln -s e2fsprogs "${pkgdir}/usr/share/licenses/${pkgname}"