# Template file for 'nocache'
pkgname=nocache
version=1.2
revision=1
build_style=gnu-makefile
make_check_target="test"
checkdepends="perl"
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=2f8c6adbc82da4477416e1eaf9d435cf52f602d07064602f433d4ba4ecad5fdd

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

post_install() {
	vlicense COPYING
}
