use dynamic name for .tgz file

This commit is contained in:
ArjixWasTaken 2026-02-13 07:58:57 +00:00
parent 4fa763cd58
commit 2ace51d344
2 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
pkgbase = vicinae-bin
pkgdesc = Raycast like FOSS app on Linux
pkgver = 0.19.7
pkgrel = 2
pkgrel = 3
url = https://github.com/vicinaehq/vicinae
arch = x86_64
license = GPL3
@ -15,9 +15,9 @@ pkgbase = vicinae-bin
depends = minizip
provides = vicinae
conflicts = vicinae
noextract = vicinae.tgz
noextract = vicinae-x86_64-v0.19.7-3.tgz
options = !strip
source = vicinae.tgz::https://github.com/vicinaehq/vicinae/releases/download/v0.19.7/vicinae-linux-x86_64-v0.19.7.tar.gz
source = vicinae-x86_64-v0.19.7-3.tgz::https://github.com/vicinaehq/vicinae/releases/download/v0.19.7/vicinae-linux-x86_64-v0.19.7.tar.gz
source = vicinae.hook
sha256sums = 118ff1bc745d2baede739d1fdddc7199d3893adb885b7fcc62de980c8bb6d90a
sha256sums = 3e946bcb7f3c2faa3568218987012db336be92acff805a373b6c10bdeaa9e7a8

View file

@ -3,7 +3,7 @@
pkgname=vicinae-bin
pkgver=0.19.7
pkgrel=2
pkgrel=3
pkgdesc="Raycast like FOSS app on Linux"
arch=('x86_64')
url="https://github.com/vicinaehq/vicinae"
@ -13,9 +13,9 @@ options=(!strip)
provides=("vicinae")
conflicts=("vicinae")
noextract=("vicinae.tgz")
noextract=("vicinae-${arch}-v${pkgver}-${pkgrel}.tgz")
source=(
"vicinae.tgz::${url}/releases/download/v$pkgver/${pkgname%-bin}-linux-$arch-v$pkgver.tar.gz"
"vicinae-${arch}-v${pkgver}-${pkgrel}.tgz::${url}/releases/download/v${pkgver}/${pkgname%-bin}-linux-${arch}-v${pkgver}.tar.gz"
"vicinae.hook"
)
@ -24,7 +24,7 @@ sha256sums=('118ff1bc745d2baede739d1fdddc7199d3893adb885b7fcc62de980c8bb6d90a'
prepare() {
mkdir -p vicinae
tar -xzf vicinae.tgz -C vicinae
tar -xzf "vicinae-${arch}-v${pkgver}-${pkgrel}.tgz" -C vicinae
}
package() {