void-packages/srcpkgs/zerofree/template

19 lines
543 B
Bash

# Template file for 'zerofree'
pkgname=zerofree
version=1.1.1
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.org>"
license="GPL-2.0-only"
homepage="https://frippery.org/uml/index.html"
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
checksum=956bc861b55ba0a2b7593c58d32339dab1a0e7da6ea2b813d27c80f08b723867
post_extract() {
sed -i 's|\(-lext2fs\)|$(LDFLAGS) \1|' Makefile
}
do_install() {
vbin $pkgname
}