# Template file for 'zerofree'
pkgname=zerofree
version=1.0.4
revision=1
build_style=gnu-makefile
makedepends="e2fsprogs-devel"
short_desc="A tool to zero free blocks in an ext2 filesystem"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://frippery.org/uml/index.html"
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838

post_extract() {
	sed -i "16i#include <sys/stat.h>" zerofree.c
}

do_install() {
	vbin $pkgname
}
