Last active
February 25, 2022 02:58
-
-
Save bulletmark/362cd0324dfdd8a76595b652010234f1 to your computer and use it in GitHub Desktop.
borg-standalone-arm-bin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Maintainer: mark.blakeney at bullet-systems dot net | |
pkgname=borg-standalone-arm-bin | |
pkgver=1.2.0 | |
pkgrel=1 | |
pkgdesc="Borg backup - prebuilt standalone ARM binary" | |
url="https://borgbackup.readthedocs.io/en/stable/installation.html#standalone-binary" | |
license=("BSD") | |
arch=("armv8h" "armv7h" "armv6h" "armv5h") | |
replaces=("borg-arm-bin") | |
provides=("borg" "borgbackup") | |
conflicts=("borg" "borgbackup" "borg-standalone-bin") | |
depends=("libxcrypt-compat") | |
_tgt="$pkgname-$pkgver" | |
_baseurl="https://github.com/borgbackup/borg/releases/download" | |
_armurl="https://borg.bauerj.eu/bin" | |
source=("$_tgt-README.txt::$_baseurl/$pkgver/README.txt") | |
source_armv8h=("$_tgt-armv8h::$_armurl/borg-$pkgver-arm64") | |
source_armv7h=("$_tgt-armv7h::$_armurl/borg-$pkgver-armv6") | |
source_armv6h=("$_tgt-armv6h::$_armurl/borg-$pkgver-armv6") | |
source_armv5h=("$_tgt-armv5h::$_armurl/borg-$pkgver-armv5") | |
sha256sums=('679b54d5967b16cf8be8e89ad34354de7389431e08b904afbe305acb6fb2aa81') | |
sha256sums_armv8h=('fbc0df19f10aa2e12ca20036872896a1b50b1afb43815da7dbe9d97b567e1a5f') | |
sha256sums_armv7h=('68d076c297b04f1a345dedee26761e7f8a65d1bcf4668832834ec15cad3281f5') | |
sha256sums_armv6h=('68d076c297b04f1a345dedee26761e7f8a65d1bcf4668832834ec15cad3281f5') | |
sha256sums_armv5h=('90759dc5f0b9feec03591d5255c68b03cb49520e98151c20622be1986409b292') | |
package() { | |
install -D $_tgt-$CARCH $pkgdir/usr/bin/borg | |
ln $pkgdir/usr/bin/borg $pkgdir/usr/bin/borgfs | |
install -D -m644 $_tgt-README.txt $pkgdir/usr/share/doc/$pkgname/README.txt | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment