void-packages/srcpkgs/etckeeper/template

21 lines
667 B
Bash

# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.13
revision=1
archs=noarch
build_style=gnu-makefile
conf_files="/etc/etckeeper/etckeeper.conf"
hostmakedepends="python bzrtools"
depends="git perl"
short_desc="Tools to store /etc in a git, mercurial, bazaar 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=0e08d18101a44d6bc35cc46bf6e65356481865bdefe0cea3f709ef7ed3a3dc36
pre_install() {
sed -ni '/systemddir/!p' Makefile
sed -ni '/apt.conf/!p' Makefile
}