git/grrs/main

fix: pkgbuild fix

cargo registry was missing when testing on other peoples' machines. tweaked pkgbuild, should work now
diff --git a/README.md b/README.md
index 825ecb8..14acc4d 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,6 @@ makepkg -si
- `-`/`=` - Volume down/up
- `c` - Copy track name/artist to clipboard
- `C` - Copy full track metadata to clipboard
-- `t` - Cycle theme colors
- `o`/`Enter` - Open album info in browser
- `Tab` - Switch between the library and player
- `?` - Show the help menu
diff --git a/pkg/grrs-git/.SRCINFO b/pkg/grrs-git/.SRCINFO
index f81f21e..478085d 100644
--- a/pkg/grrs-git/.SRCINFO
+++ b/pkg/grrs-git/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = grrs-git
pkgdesc = A minimal TUI for Gensokyo Radio
- pkgver = r23.6c64784
+ pkgver = r24.2e6584d
pkgrel = 1
url = https://radicle.network/nodes/git.myn.sh/grrs
arch = x86_64
diff --git a/pkg/grrs-git/PKGBUILD b/pkg/grrs-git/PKGBUILD
index 8e73235..9dacd90 100644
--- a/pkg/grrs-git/PKGBUILD
+++ b/pkg/grrs-git/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Myn <hello@myn.sh>
pkgname=grrs-git
-pkgver=r23.6c64784
+pkgver=r24.2e6584d
pkgrel=1
pkgdesc="A minimal TUI for Gensokyo Radio"
arch=('x86_64')
@@ -20,6 +20,12 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
+prepare() {
+ cd "$srcdir/grrs"
+ export RUSTUP_TOOLCHAIN=stable
+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+}
+
build() {
cd "$srcdir/grrs"
export RUSTUP_TOOLCHAIN=stable
diff --git a/pkg/grrs/PKGBUILD b/pkg/grrs/PKGBUILD
index 82590ee..015eb39 100644
--- a/pkg/grrs/PKGBUILD
+++ b/pkg/grrs/PKGBUILD
@@ -15,6 +15,12 @@ conflicts=('grrs-git')
source=("grrs::git+https://rosa.radicle.network/rad:z3dnwE7h9y4ndGdqeafNLP8eDPn3Y.git#commit=6c64784929618c0b8e8c7adf929d4a8c9efea17e")
sha256sums=('SKIP')
+prepare() {
+ cd "$srcdir/grrs"
+ export RUSTUP_TOOLCHAIN=stable
+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+}
+
build() {
cd "$srcdir/grrs"
export RUSTUP_TOOLCHAIN=stable