fix(aur): use app-v prefixed source dir in build/package (#379)

GitHub's tag archive folder is named after the tag (with only a
leading 'v' stripped). Tags like 'app-v1.44.0' produce
'psysonic-app-v1.44.0/', not 'psysonic-1.44.0/', so the previous
'cd "psysonic-$pkgver"' failed with "Datei oder Verzeichnis nicht
gefunden". This was hotfixed on AUR as 1.44.0-2; mirror here so
the next bump doesn't regress.
This commit is contained in:
Frank Stellmacher
2026-04-30 02:02:20 +02:00
committed by GitHub
parent dd73e2b36b
commit 1846e4a1a6
+2 -2
View File
@@ -24,7 +24,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/Psychotoxical/psysonic/arch
sha256sums=('SKIP')
build() {
cd "psysonic-$pkgver"
cd "psysonic-app-v$pkgver"
export CARGO_HOME="$srcdir/cargo-home"
export npm_config_cache="$srcdir/npm-cache"
@@ -48,7 +48,7 @@ build() {
}
package() {
cd "psysonic-$pkgver"
cd "psysonic-app-v$pkgver"
# Binary (in /usr/lib to make room for the wrapper)
install -Dm755 "src-tauri/target/release/psysonic" "$pkgdir/usr/lib/psysonic/psysonic"