kopia-ui-bin/PKGBUILD
2023-09-19 18:54:50 +02:00

28 lines
1.2 KiB
Bash

# Maintainer: RealStickman <mrc+aur@frm01.net>
pkgname=kopia-ui-bin
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
pkgver=0.14.1
# 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=('da0fed3797e9550dc931ee67010c2f421dd6078ba328d3462d56490d82f80cfa')
sha256sums_aarch64=('6b913c241f3378082438481f7f8fcc119faad66d9e608e235ce1013bcf2ab934')
sha256sums_armv7h=('e0d2f8c9bbb13bb4a6db4917fe2a20eba351ce622fa4e721f69660e18f5e13ec')
package() {
tar -xf data.tar.xz -C "$pkgdir"
cp app-update.yml "$pkgdir/opt/KopiaUI/resources"
}