kopia-ui-bin/PKGBUILD

32 lines
1.4 KiB
Bash

<<<<<<< HEAD
# Maintainer: RealStickman <mrc+aur@frm01.net>
=======
# Maintainer: exu <aur _a_ frm01 _d_ net>
>>>>>>> 4663b23 (Update maintainer name and email)
pkgname=kopia-ui-bin
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
pkgver=0.16.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=('a81de8b4a43effe0008f0cd41622d51610e17eca7ccdb66a5f4a5f89883d395c')
sha256sums_aarch64=('de065d2aae295f7f0e1227964c99c9f462115d654bd1917f74be84abb8c52e04')
sha256sums_armv7h=('5be4e8fbd6de82c2ada87cd41f4be6c145ae743fad3890d6d849c8b9c9497156')
package() {
tar -xf data.tar.xz -C "$pkgdir"
cp app-update.yml "$pkgdir/opt/KopiaUI/resources"
}