fix(aur): make data archive extraction more robust

This commit is contained in:
Misiix9 2026-02-18 12:57:51 +01:00
parent c28cd78712
commit 36a5762c7c
2 changed files with 4 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = vanta-bin
pkgdesc = A hyper-fast, scriptable command palette for Wayland
pkgver = 1.1.0
pkgrel = 1
pkgrel = 2
url = https://github.com/Misiix9/vanta
arch = x86_64
license = MIT

View file

@ -1,7 +1,7 @@
# Maintainer: Misiix9 <admin@misiix.dev>
pkgname=vanta-bin
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc="A hyper-fast, scriptable command palette for Wayland"
arch=('x86_64')
url="https://github.com/Misiix9/vanta"
@ -13,5 +13,6 @@ source=("vanta_${pkgver}_amd64.deb::https://github.com/Misiix9/vanta/releases/do
sha256sums=('SKIP')
package() {
tar -xf data.tar.zst -C "${pkgdir}"
# Extract whichever data archive exists (gzip, xz, or zstd)
find "${srcdir}" -maxdepth 1 -name "data.tar.*" -exec tar -xf {} -C "${pkgdir}" \;
}