2016-05-21 22:40:28 +02:00
|
|
|
# Template file for 'borg'
|
|
|
|
pkgname=borg
|
2017-07-24 17:32:14 +02:00
|
|
|
version=1.0.11
|
2017-08-28 01:46:38 +02:00
|
|
|
revision=2
|
2016-07-16 16:48:50 +02:00
|
|
|
wrksrc="borgbackup-${version}"
|
2016-10-16 17:44:10 +02:00
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools python3-devel libressl-devel
|
|
|
|
python3-Sphinx python3-sphinx_rtd_theme"
|
|
|
|
makedepends="${hostmakedepends/python3-setuptools/} acl-devel lz4-devel"
|
|
|
|
depends="python3-llfuse python3-msgpack python3-setuptools"
|
2016-05-21 22:40:28 +02:00
|
|
|
pycompile_module="borg"
|
|
|
|
short_desc="Deduplicating backup program with compression and encryption"
|
2017-07-24 17:32:14 +02:00
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
2016-05-21 22:40:28 +02:00
|
|
|
license="BSD"
|
|
|
|
homepage="https://borgbackup.github.io/"
|
|
|
|
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
|
2017-07-24 17:32:14 +02:00
|
|
|
checksum=fc6efd2d19454625532e0defac90cd8e8737665e10ae59edb15356ee5a99d291
|
2016-05-21 22:40:28 +02:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -i "s|\(possible_openssl_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
2016-05-21 22:44:35 +02:00
|
|
|
sed -i "s|\(possible_lz4_prefixes\) =.*|\1 = ['${XBPS_CROSS_BASE}/usr']|" setup.py
|
2016-05-21 22:40:28 +02:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
post_build() {
|
2016-10-16 17:44:10 +02:00
|
|
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
2016-05-21 22:40:28 +02:00
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
vman docs/_build/man/borg.1
|
|
|
|
}
|