# Template file for 'nocache'
pkgname=nocache
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=27314d506be91a54e6ae195e3daf82ebe3f5122cecb8c9307354216fb5b1ded9

pre_build() {
	sed -i -e '/#include <error.h>/d' cachedel.c cachestats.c
}

post_install() {
	vlicense COPYING
}
