38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Template file for 'borg'
|
|
pkgname=borg
|
|
version=1.2.4
|
|
revision=1
|
|
build_style=python3-module
|
|
make_check_args="-k not((benchmark)or(readonly))"
|
|
make_check_target="build/lib.*/borg/testsuite"
|
|
hostmakedepends="python3-setuptools_scm python3-pkgconfig python3-Cython"
|
|
makedepends="python3-devel openssl-devel acl-devel liblz4-devel
|
|
libzstd-devel xxHash-devel"
|
|
depends="python3-msgpack python3-packaging python3-pyfuse3"
|
|
checkdepends="tar python3-msgpack python3-dateutil python3-pytest-xdist"
|
|
short_desc="Deduplicating backup program with compression and encryption"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.borgbackup.org"
|
|
changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog"
|
|
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
|
|
checksum=a4bd54e9469e81b7a30a6711423115abc818d9cd844ecb1ca0e6104bc5374da8
|
|
|
|
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
export BORG_LIBZSTD_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
export BORG_LIBXXHASH_PREFIX="${XBPS_CROSS_BASE}/usr"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
|
|
for f in docs/man/*.1 ; do
|
|
vman $f
|
|
done
|
|
|
|
cd scripts/shell_completions
|
|
vcompletion bash/${pkgname} bash
|
|
vcompletion fish/${pkgname}.fish fish
|
|
vcompletion zsh/_${pkgname} zsh
|
|
}
|