pkgname=fuse2fs
_pkgname=e2fsprogs
pkgver=1.47.0
pkgrel=1
arch=('armv7h')
license=('GPL' 'LGPL' 'MIT')
depends=('systemd' 'util-linux' 'fuse2')
source=("file:///sources/$_pkgname-$pkgver.tar.gz")
build() {
cd "$_pkgname-$pkgver"
mkdir -p build
cd build
../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
--disable-uuidd \
--disable-fsck \
--enable-fuse2fs
make
}
package() {
pkgdesc='Ext2/3/4 filesystem driver for FUSE'
depends+=('e2fsprogs')
cd "$_pkgname-$pkgver/build"
install -D -m0755 'misc/fuse2fs' "${pkgdir}/usr/bin/fuse2fs"
install -D -m0644 'misc/fuse2fs.1' "${pkgdir}/usr/share/man/man1/fuse2fs.1"
}
sha256sums=('6667afde56eef0c6af26684974400e4d2288ea49e9441bf5e6229195d51a3578')