kopia-ui-bin/PKGBUILD

26 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-02-05 13:06:43 +01:00
pkgver=0.10.4
2021-12-13 20:04:34 +01:00
# Uncomment for releases with hyphens
# _pkgver=$(echo "$pkgver" | tr '~' -)
2022-02-05 13:06:43 +01:00
pkgrel=1
2021-12-13 20:04:34 +01:00
arch=('x86_64' 'aarch64' 'armv7h')
url='https://github.com/kopia/kopia/'
license=('APACHE')
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-02-05 13:06:43 +01:00
sha256sums_x86_64=('51b5136bb03251bb32fd7292be145c607db7911a6a88edee4c693c93c9df24f6')
sha256sums_aarch64=('e5767650e101e496aaf7a9c89ce063f60aa2e09a7e995eb6b5839ad779d083b5')
sha256sums_armv7h=('518e90abd71f7f2e6ab5877b1f35e41064af0a39ffe68a17493748b6660e6a9b')
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
}