From 69810f63cf839400d262d36e62ecde806671105c Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 12 May 2022 22:52:22 +0200 Subject: [PATCH] nocache: update to 1.2. --- srcpkgs/nocache/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/nocache/template b/srcpkgs/nocache/template index 1c4198631e7..b864dbd5c6f 100644 --- a/srcpkgs/nocache/template +++ b/srcpkgs/nocache/template @@ -1,17 +1,19 @@ # Template file for 'nocache' pkgname=nocache -version=1.1 +version=1.2 revision=1 build_style=gnu-makefile +make_check_target="test" +checkdepends="perl" short_desc="Minimize filesystem caching effects" maintainer="Duncaen " license="BSD-2-Clause" homepage="https://github.com/Feh/nocache" distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz" -checksum=e5441b27f60e1af5551b76fe0c8a9da17b8c31675794d9d49bf59c7c47fbb9b9 +checksum=2f8c6adbc82da4477416e1eaf9d435cf52f602d07064602f433d4ba4ecad5fdd pre_build() { - sed -i -e '/#include /d' cachedel.c cachestats.c + vsed -e '/#include /d' -i cachedel.c -i cachestats.c } post_install() {