25 lines
584 B
Bash
25 lines
584 B
Bash
# Template file for 'zerofree'
|
|
pkgname=zerofree
|
|
version=1.0.4
|
|
revision=2
|
|
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
|
|
|
|
pre_build() {
|
|
export CFLAGS="$CFLAGS $LDFLAGS"
|
|
}
|
|
|
|
post_extract() {
|
|
sed -i "16i#include <sys/stat.h>" zerofree.c
|
|
}
|
|
|
|
do_install() {
|
|
vbin $pkgname
|
|
}
|