diff --git a/.SRCINFO b/.SRCINFO index b416149..ff855e5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = kopia-ui-bin pkgdesc = A cross-platform backup-tool with encryption, deduplication, compression and cloud support. pkgver = 0.10.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/kopia/kopia/ arch = x86_64 arch = aarch64 @@ -9,6 +9,8 @@ pkgbase = kopia-ui-bin license = APACHE provides = kopia-ui conflicts = kopia-ui + source = app-update.yml + sha256sums = 6e04ed70f54a3d70c22240cd6e4f65df4ad2f3e8aa1608aca20dc91c594bd83b source_x86_64 = https://github.com/kopia/kopia/releases/download/v0.10.1/kopia-ui_0.10.1_amd64.deb sha256sums_x86_64 = 28be02d3db2285986ae7cb65bd54349257e14e6333e573c2150a0f2d60c6775c source_aarch64 = https://github.com/kopia/kopia/releases/download/v0.10.1/kopia-ui_0.10.1_arm64.deb diff --git a/.gitignore b/.gitignore index 229b96d..28dd69a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ !.gitignore !PKGBUILD !.SRCINFO +!app-update.yml diff --git a/PKGBUILD b/PKGBUILD index 7d9de0e..8a073a0 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,19 +5,22 @@ pkgdesc='A cross-platform backup-tool with encryption, deduplication, compressio pkgver=0.10.1 # Uncomment for releases with hyphens # _pkgver=$(echo "$pkgver" | tr '~' -) -pkgrel=1 +pkgrel=2 arch=('x86_64' 'aarch64' 'armv7h') url='https://github.com/kopia/kopia/' license=('APACHE') 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=('28be02d3db2285986ae7cb65bd54349257e14e6333e573c2150a0f2d60c6775c') sha256sums_aarch64=('33564d08c0fdcb5814cd2437a7b505ae8483536dd38ee8d90bc966a84e1db4a3') sha256sums_armv7h=('5779815d412b22f4a327735b0384ee99e8082ef6cf33f9d6b88fbc624c9a637a') package() { tar -xf data.tar.xz -C "$pkgdir" + cp app-update.yml "$pkgdir/opt/KopiaUI/resources" } diff --git a/app-update.yml b/app-update.yml new file mode 100644 index 0000000..9492205 --- /dev/null +++ b/app-update.yml @@ -0,0 +1,6 @@ +owner: kopia +repo: kopia +provider: github +vPrefixedTagName: true +releaseType: release +updaterCacheDirName: kopia-ui-updater