void-packages/srcpkgs/etckeeper/template
2020-03-31 21:32:13 +02:00

24 lines
691 B
Bash

# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.14
revision=1
archs=noarch
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="Diogo Leal <diogo@diogoleal.com>"
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
}