# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.14
revision=2
build_style=gnu-makefile
conf_files="/etc/etckeeper/etckeeper.conf"
hostmakedepends="perl"
depends="git perl"
short_desc="Tools to store /etc in a git, mercurial, or darcs repository"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://etckeeper.branchable.com"
distfiles="https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/${pkgname}-${version}.tar.gz"
checksum=15924673fa3f15e4b172f9f0111a442ed3f0ee99dcf9ad3c5107736ffb8c1089

pre_install() {
	sed -ni '/systemddir/!p' Makefile
	sed -ni '/apt.conf/!p' Makefile
}

post_install() {
	vdoc doc/README.mdwn
}
