void-packages/srcpkgs/etckeeper/template

21 lines
667 B
Bash

# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.10
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=72b15a6157586f6d17f6eeec82cb797aaad8ddd391b5e30d09d4759e6fb5e966
pre_install() {
sed -ni '/systemddir/!p' Makefile
sed -ni '/apt.conf/!p' Makefile
}