# Contributor: George Hopkins # Maintainer: Duncan Bellamy pkgname=genext2fs pkgver=1.5.0 pkgrel=1 pkgdesc="Generate ext2 filesystems as a normal user" url="https://genext2fs.sourceforge.net/" arch="all" license="GPL-2.0-only" makedepends="autoconf automake bash libarchive-dev" subpackages="$pkgname-doc" source=" $pkgname-$pkgver.tar.gz::https://github.com/bestouff/genext2fs/archive/v$pkgver.tar.gz version.patch " prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-libarchive make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="628994f4f5f6d534a42e16db5322e36addb227d0e0ee589ebebbbb6beda9c53774186a932d04fcb978fde1cbe534b8335fdbfea256aecd2d873c03bc5892a8ce genext2fs-1.5.0.tar.gz d31f3f69a1e7506f31cca1ff2f40f278ad04e6d7fa991356f53dec50cd4ba481f1b461967cedd710bf02b8a0d598576c864e264a0ac5aed464105b66bace2e93 version.patch"