zerofree: update to 1.1.0.
This commit is contained in:
parent
19147241cd
commit
7efdfe29c7
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zerofree'
|
# Template file for 'zerofree'
|
||||||
pkgname=zerofree
|
pkgname=zerofree
|
||||||
version=1.0.4
|
version=1.1.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="e2fsprogs-devel"
|
makedepends="e2fsprogs-devel"
|
||||||
short_desc="A tool to zero free blocks in an ext2 filesystem"
|
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"
|
license="GPL-2"
|
||||||
homepage="https://frippery.org/uml/index.html"
|
homepage="https://frippery.org/uml/index.html"
|
||||||
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
|
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
|
||||||
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838
|
checksum=ee77aa1cf9dd9a8fb15c7e616f10f53d63c3112d4876221937b2875c7a122f15
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
export CFLAGS="$CFLAGS $LDFLAGS"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_extract() {
|
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() {
|
do_install() {
|
||||||
vbin $pkgname
|
vbin $pkgname
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue