void-packages/srcpkgs/etckeeper/template

22 lines
664 B
Bash

# Template file for 'etckeeper'
pkgname=etckeeper
version=1.18.6
revision=1
depends="git"
conf_files="/etc/etckeeper/etckeeper.conf"
build_style='gnu-makefile'
hostmakedepends="python bzrtools"
depends="git"
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=7db1a2b48c011b5e04ec95af559de8d1d243bdcdf6cd591b3b0b46d1f21e9602
noarch=yes
pre_install() {
sed -ni '/systemddir/!p' Makefile
sed -ni '/apt.conf/!p' Makefile
}