nocache: update to 1.0.
This commit is contained in:
parent
d4cc5d7347
commit
5c63f7880c
1 changed files with 4 additions and 13 deletions
|
@ -1,28 +1,19 @@
|
||||||
# Template file for 'nocache'
|
# Template file for 'nocache'
|
||||||
pkgname=nocache
|
pkgname=nocache
|
||||||
version=0.9
|
version=1.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Minimize filesystem caching effects"
|
short_desc="Minimize filesystem caching effects"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
homepage="https://github.com/Feh/nocache"
|
homepage="https://github.com/Feh/nocache"
|
||||||
distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz"
|
distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz"
|
||||||
checksum=a5d790b77dc9e0c8e1241f99a9f31a088d02956a6a4c40dd17ddaa887b2bc33a
|
checksum=27314d506be91a54e6ae195e3daf82ebe3f5122cecb8c9307354216fb5b1ded9
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
sed -i -e '/^GCC/d' -e 's/$(GCC)/$(GCC) $(CFLAGS)/g' Makefile
|
|
||||||
sed -i -e '/#include <error.h>/d' cachedel.c cachestats.c
|
sed -i -e '/#include <error.h>/d' cachedel.c cachestats.c
|
||||||
sed -i -e 's;/usr/local;/usr;g' nocache.global
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
vinstall nocache.so 644 usr/lib
|
|
||||||
vbin nocache.global nocache
|
|
||||||
vbin cachedel
|
|
||||||
vbin cachestats
|
|
||||||
vman man/cachedel.1
|
|
||||||
vman man/cachestats.1
|
|
||||||
vman man/nocache.1
|
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue