vp-build/srcpkgs/bup/template

25 lines
654 B
Bash

# Template file for 'bup'
pkgname=bup
version=0.32
revision=1
build_style=configure
hostmakedepends="python3 perl git"
makedepends="python3-devel"
checkdepends="python3-pytest tar rsync"
short_desc="Backup system based on the git packfile format"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-only"
homepage="https://github.com/bup/bup"
distfiles="https://github.com/bup/bup/archive/${version}.tar.gz"
checksum=a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259
python_version=3
nocross=yes
pre_configure() {
sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile
}
do_check() {
./pytest -x --ignore-glob='test/ext/test-ls*'
}