nocache: update to 1.0.
This commit is contained in:
parent
d4cc5d7347
commit
5c63f7880c
|
@ -1,28 +1,19 @@
|
|||
# Template file for 'nocache'
|
||||
pkgname=nocache
|
||||
version=0.9
|
||||
revision=2
|
||||
version=1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Minimize filesystem caching effects"
|
||||
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||
license="BSD"
|
||||
homepage="https://github.com/Feh/nocache"
|
||||
distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz"
|
||||
checksum=a5d790b77dc9e0c8e1241f99a9f31a088d02956a6a4c40dd17ddaa887b2bc33a
|
||||
checksum=27314d506be91a54e6ae195e3daf82ebe3f5122cecb8c9307354216fb5b1ded9
|
||||
|
||||
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 's;/usr/local;/usr;g' nocache.global
|
||||
}
|
||||
|
||||
do_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
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue