# Template file for 'nocache'
pkgname=nocache
version=1.1
revision=1
build_style=gnu-makefile
short_desc="Minimize filesystem caching effects"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/Feh/nocache"
distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz"
checksum=e5441b27f60e1af5551b76fe0c8a9da17b8c31675794d9d49bf59c7c47fbb9b9

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

post_install() {
	vlicense COPYING
}
