diff --git a/srcpkgs/zerofree/template b/srcpkgs/zerofree/template index e2ea57ff77..9efae8810f 100644 --- a/srcpkgs/zerofree/template +++ b/srcpkgs/zerofree/template @@ -1,7 +1,7 @@ # Template file for 'zerofree' pkgname=zerofree -version=1.0.4 -revision=2 +version=1.1.0 +revision=1 build_style=gnu-makefile makedepends="e2fsprogs-devel" short_desc="A tool to zero free blocks in an ext2 filesystem" @@ -9,16 +9,12 @@ maintainer="Juan RP " 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" -} +checksum=ee77aa1cf9dd9a8fb15c7e616f10f53d63c3112d4876221937b2875c7a122f15 post_extract() { - sed -i "16i#include " zerofree.c + sed -i '18i#include ' zerofree.c + sed -i 's|\(-lext2fs\)|$(LDFLAGS) \1|' Makefile } - do_install() { vbin $pkgname }