Last active
August 21, 2022 05:20
-
-
Save bulletmark/6ba76c9cb9064a8544554f9639cf4371 to your computer and use it in GitHub Desktop.
borg-standalone-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-bin | |
pkgver=1.2.2 | |
pkgrel=1 | |
pkgdesc="Borg backup - prebuilt standalone binary" | |
url="https://borgbackup.readthedocs.io/en/stable/installation.html#standalone-binary" | |
license=("BSD") | |
arch=("x86_64" "i686") | |
replaces=("borg-bin") | |
provides=("borg" "borgbackup") | |
conflicts=("borg" "borgbackup" "borg-standalone-arm-bin") | |
depends=("libxcrypt-compat") | |
_tgt="$pkgname-$pkgver" | |
_baseurl="https://github.com/borgbackup/borg/releases/download" | |
source=("$_tgt-README.txt::$_baseurl/$pkgver/00_README.txt") | |
source_x86_64=("$_tgt-x86_64::$_baseurl/$pkgver/borg-linux64") | |
sha256sums=('564aee5a7546e3697048188f109cae04ff801ac523ba9b32629c00573ae232b6') | |
sha256sums_x86_64=('29f68bd4f8b524f0c2c530d5679ea1a7fcce6bb6ffe16dbe7d07b19dbebf794a') | |
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