kopia-ui-bin/PKGBUILD
2024-04-20 12:39:02 +02:00

28 lines
1.2 KiB
Bash

# Maintainer: exu <aur _a_ frm01 _d_ net>
pkgname=kopia-ui-bin
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
pkgver=0.17.0
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
pkgrel=1
arch=('x86_64' 'aarch64' 'armv7h')
url='https://kopia.io/'
license=('APACHE')
optdepends=('fuse3: mounting snapshots locally')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("app-update.yml")
source_x86_64=("https://github.com/kopia/kopia/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_amd64.deb")
source_aarch64=("https://github.com/kopia/kopia/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_arm64.deb")
source_armv7h=("https://github.com/kopia/kopia/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_armv7l.deb")
sha256sums=('6e04ed70f54a3d70c22240cd6e4f65df4ad2f3e8aa1608aca20dc91c594bd83b')
sha256sums_x86_64=('7bf9efbc042126869c3a04def7323e177af0027fe5291cedc9e09e43a22da3e4')
sha256sums_aarch64=('8ad79b3c8d5c71bde3e1306a08454ef1aeda4491f9bf7150c35470f3fbf13adf')
sha256sums_armv7h=('056ee9c5598d22f93e5ad7b74da2cafa87a38552697f415ebb52f9ab111218ec')
package() {
tar -xf data.tar.xz -C "$pkgdir"
cp app-update.yml "$pkgdir/opt/KopiaUI/resources"
}