# Template file for 'metalog'
pkgname=metalog
version=2018510
revision=1
wrksrc="$pkgname-$pkgname-$version"
build_style=gnu-configure
hostmakedepends="autoconf autoconf-archive automake pkg-config"
makedepends="pcre-devel"
conf_files="/etc/metalog.conf"
short_desc="Modern replacement for syslogd and klogd"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-only"
homepage="https://github.com/hvisage/metalog"
distfiles="https://github.com/hvisage/metalog/archive/metalog-${version}.tar.gz"
checksum=a325df34c3ae77cb2096bce5d5c1130f00d0b9c4f4ddfa185f4e42cafaa7ca05

pre_configure() {
	./autogen.sh
}

post_install() {
	vsv metalog
}
