vp-build/srcpkgs/cachefilesd/template

22 lines
637 B
Bash

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