void-packages/srcpkgs/snoopy/template

22 lines
615 B
Bash

# Template file for 'snoopy'
pkgname=snoopy
version=2.3.0
revision=3
wrksrc="snoopy-${version}"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin"
conf_files="/etc/snoopy.ini"
short_desc="Log every executed command to syslog"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/a2o/snoopy"
distfiles="http://source.a2o.si/download/snoopy/snoopy-${version}.tar.gz"
checksum=14312de74b995b2d5aad60b148c18378ac55d26e065a05ea2477f9bddce65bea
pre_configure() {
find . -type f -name Makefile.in -exec sed -i 's| -Werror||' {} +
}
post_install() {
vconf etc/snoopy.ini
}