vp-build/srcpkgs/cachefilesd/template

22 lines
648 B
Bash

# Template file for 'cachefilesd'
pkgname=cachefilesd
version=0.10.10
revision=2
build_style=gnu-makefile
make_install_args="SBINDIR=/usr/bin BINDIR=/usr/bin"
short_desc="Userspace daemon acting as a backend for FS-Cache"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://people.redhat.com/~dhowells/fscache/"
distfiles="http://people.redhat.com/~dhowells/fscache/${pkgname}-${version}.tar.bz2"
conf_files="/etc/cachefilesd.conf"
checksum=0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02
post_patch() {
vsed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c
}
post_install() {
vsv cachefilesd
}