# Template file for 'backupninja'
pkgname=backupninja
version=1.2.2
revision=2
build_style=gnu-configure
hostmakedepends="automake"
depends="dialog bash"
short_desc="Lightweight, extensible meta-backup system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://0xacab.org/liberate/backupninja"
changelog="https://0xacab.org/liberate/backupninja/-/raw/master/CHANGELOG.md"
distfiles="https://0xacab.org/liberate/backupninja/-/archive/backupninja-${version}/backupninja-backupninja-${version}.tar.gz"
checksum=2d05b306a62a71be61fd7cf664a66fa2d558ad11db5d737f2c16079c9a27e8ed
make_build_args="BASH=/bin/bash"

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

pre_configure() {
	./autogen.sh
}
