Skip to content
Snippets Groups Projects
Commit e907bf1c authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/borgbackup: fix and modernize abuild

parent 5313cdd3
No related merge requests found
......@@ -8,21 +8,18 @@ url="https://borgbackup.readthedocs.io/"
arch="all"
license="BSD"
depends="python3 py3-msgpack"
depends_dev=""
makedepends="python3-dev lz4-dev acl-dev attr-dev libressl-dev"
install=""
subpackages=""
source="https://github.com/$pkgname/borg/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="438d39557a4ebc936f606a880b7f1c915fd5497b11663f03b8a767af7cca522a1b235be0f81c4310d8f12e19d147b438481b7ac82e7371588237de8f1e229525 borgbackup-1.0.11.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment