void-packages/srcpkgs/bup/template

24 lines
668 B
Bash

# Template file for 'bup'
pkgname=bup
version=0.28
revision=1
build_style=configure
hostmakedepends="python perl git"
makedepends="python-devel"
short_desc="Backup system based on the git packfile format"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="LGPL-2"
homepage="https://github.com/bup/bup"
distfiles="https://github.com/bup/bup/archive/${version}.tar.gz"
checksum=9e0fbdfadd52e67ff13464060acd98d714425421e8accfb6671e296586087e09
nocross=yes
pre_configure() {
sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile
cat > lib/bup/_version.py <<EOF
COMMIT='017af24d11d45541dd20d48568588650cc5ed598'
NAMES='(tag: bup-0.28)'
DATE='2016-05-24 18:13:56 -0500'
EOF
}