upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lib32-e2fsprogs / trunk / PKGBUILD
blob541195905213f440e0f1d35cc78030f51a799fa4
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
6 pkgver=1.47.0
7 pkgrel=1
8 pkgdesc='Ext2/3/4 filesystem libraries (32-bit)'
9 arch=('x86_64')
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'
15           'libe2p.so'
16           'libext2fs.so'
17           'libss.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'
21             'SKIP')
23 build() {
24   export CC='gcc -m32'
25   export CXX='g++ -m32'
26   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
28   cd "${srcdir}/e2fsprogs-${pkgver}"
30   ./configure --prefix=/usr \
31     --libdir=/usr/lib32 \
32     --with-root-prefix='' \
33     --enable-elf-shlibs \
34     --disable-{debugfs,imager,resizer,fsck,uuidd,libuuid,libblkid}
35   make
38 package() {
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}"