zerofree: update to 1.1.0.

This commit is contained in:
Duncaen 2017-01-21 15:07:19 +01:00
parent 19147241cd
commit 7efdfe29c7
1 changed files with 5 additions and 9 deletions

View File

@ -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 <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"
}
checksum=ee77aa1cf9dd9a8fb15c7e616f10f53d63c3112d4876221937b2875c7a122f15
post_extract() {
sed -i "16i#include <sys/stat.h>" zerofree.c
sed -i '18i#include <sys/stat.h>' zerofree.c
sed -i 's|\(-lext2fs\)|$(LDFLAGS) \1|' Makefile
}
do_install() {
vbin $pkgname
}