kopia-ui-bin/PKGBUILD

28 lines
1.2 KiB
Bash
Raw Normal View History

2021-12-13 20:04:34 +01:00
# Maintainer: RealStickman <mrc+aur@frm01.net>
pkgname=kopia-ui-bin
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
2022-10-02 11:02:30 +02:00
pkgver=0.12.1
2021-12-13 20:04:34 +01:00
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
pkgrel=2
2021-12-13 20:04:34 +01:00
arch=('x86_64' 'aarch64' 'armv7h')
url='https://kopia.io/'
2021-12-13 20:04:34 +01:00
license=('APACHE')
optdepends=('fuse3: mounting snapshots locally')
2021-12-13 20:04:34 +01:00
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("app-update.yml")
2021-12-13 20:04:34 +01:00
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')
2022-10-02 11:02:30 +02:00
sha256sums_x86_64=('082ddb311dc3792a1bbf8c78c0961a98c1a9dd4d79efdf0a08ac1c9999ba3c63')
sha256sums_aarch64=('f8d38f5faaefa1d5638bd742fc6a1957b059070b2ed82ccb47a2e8fbe71ee43e')
sha256sums_armv7h=('0fefd707d43da6eb15a1782bd6ad953568750f565c2250cba321a86c724cf68b')
2022-02-05 13:08:36 +01:00
2021-12-13 20:04:34 +01:00
package() {
tar -xf data.tar.xz -C "$pkgdir"
cp app-update.yml "$pkgdir/opt/KopiaUI/resources"
2021-12-13 20:04:34 +01:00
}