void-packages/srcpkgs/bup/template

26 lines
765 B
Bash

# Template file for 'bup'
pkgname=bup
version=0.33.4
revision=1
build_style=configure
hostmakedepends="pkg-config python3 perl git pandoc"
makedepends="python3-devel readline-devel acl-devel"
depends="python3-pyxattr python3-fuse par2cmdline"
checkdepends="python3-pytest tar rsync mdocml"
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=f51284f2cb24aa653288f05aad32d6ec6ebb9546143ed7c588d40ba82f24b79a
python_version=3
nocross=yes
pre_configure() {
vsed -e 's#^PREFIX=.*#PREFIX=/usr#' -i GNUmakefile
}
do_check() {
./pytest -x --ignore-glob='test/ext/test-ls*'
}