Commit eeb37847 authored by Natanael Copa's avatar Natanael Copa

testing/e2fsimage: new aport

create and populate an ext2/3/4 filesystem image as non-root user.
https://github.com/Ledest/e2fsimage
parent 06d873c3
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=e2fsimage
pkgver=0.2.3
pkgrel=0
pkgdesc="create and populate an ext2/3/4 filesystem image as non-root user"
url="https://github.com/Ledest/e2fsimage"
arch="all"
license="BSD"
makedepends="e2fsprogs-dev e2fsprogs-extra"
subpackages="$pkgname-doc"
source="e2fsimage-$pkgver.tar.gz::https://github.com/Ledest/e2fsimage/archive/$pkgver.tar.gz"
builddir="$srcdir/e2fsimage-$pkgver"
build() {
cd "$builddir"
prefix=/usr mandir=/usr/share/man ./configure
make
}
check() {
cd "$builddir"
./src/e2fsimage -f test.img -d ./src
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b6bf97ae35af7c48063f7a6dc19af80fec4bdfcd4d9b6064168b5e5a37ead57b3a01772f659f5004d6d5f1217cccba6a019e1974f87503fcaf526a15d6187ed7 e2fsimage-0.2.3.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment