# Template file for 'snoopy'
pkgname=snoopy
version=2.5.2
revision=1
build_style=gnu-configure
checkdepends="socat procps-ng"
conf_files="/etc/snoopy.ini"
short_desc="Log every executed command to syslog"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://github.com/a2o/snoopy"
distfiles="https://github.com/a2o/snoopy/releases/download/snoopy-${version}/snoopy-${version}.tar.gz"
checksum=9bee136cc3a676e8a11e5ad23339f32fe1a6aea473abca1cc625beb71ebbafc9

pre_configure() {
	find . -type f -name Makefile.in -exec sed -i 's| -Werror||' {} +
}

post_install() {
	vconf etc/snoopy.ini
}
