# Template file for 'backupninja'
pkgname=backupninja
version=1.2.1
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-configure
hostmakedepends="automake"
depends="dialog"
short_desc="Lightweight, extensible meta-backup system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://0xacab.org/liberate/backupninja"
distfiles="https://0xacab.org/liberate/backupninja/-/archive/${pkgname}-${version}/${pkgname}-${pkgname}-${version}.tar.gz"
checksum=cfd94891c27d1b861bf8fbd9990673f9bc2bce78872976ee1cb4d068f1c4cd6c

conf_files="/etc/backupninja.conf"
make_dirs="/etc/backup.d 0750 root root"

pre_configure() {
	./autogen.sh
}
