30 lines
977 B
Bash
30 lines
977 B
Bash
# Template file for 'borg'
|
|
pkgname=borg
|
|
version=1.1.0
|
|
revision=2
|
|
wrksrc="borgbackup-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-devel libressl-devel python3-Sphinx"
|
|
makedepends="${hostmakedepends/python3-setuptools/} acl-devel lz4-devel"
|
|
depends="python3-llfuse python3-msgpack python3-setuptools"
|
|
pycompile_module="borg"
|
|
short_desc="Deduplicating backup program with compression and encryption"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="3-clause-BSD"
|
|
homepage="https://borgbackup.github.io/"
|
|
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
|
|
checksum=b40c1120c480a8235ce403b8e6e7abf1377458896f438eafce60f54916789e6f
|
|
|
|
export BORG_LZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
|
|
pre_build() {
|
|
sed -i '/guzzle/d' docs/conf.py
|
|
}
|
|
post_build() {
|
|
PYTHONPATH=.. make -C docs man SPHINXBUILD=sphinx-build3
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vman docs/_build/man/borg.1
|
|
}
|