void-packages/srcpkgs/etckeeper/template

21 lines
655 B
Bash

# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.7
revision=1
depends="git perl"
conf_files="/etc/etckeeper/etckeeper.conf"
build_style='gnu-makefile'
hostmakedepends="python bzrtools"
short_desc="Tools to store /etc in a git, mercurial, bazaar or darcs repository"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="GPL-2"
homepage="https://etckeeper.branchable.com"
distfiles="https://git.joeyh.name/index.cgi/etckeeper.git/snapshot/${pkgname}-${version}.tar.gz"
checksum=7abde0e029abd06351d0e98c067a98dd7da3a22d9627c83c95e2eb90d29066cd
noarch=yes
pre_install() {
sed -ni '/systemddir/!p' Makefile
sed -ni '/apt.conf/!p' Makefile
}