diff --git a/packages/fretboard/PKGBUILD b/packages/fretboard/PKGBUILD index dfa56512..341ea41b 100644 --- a/packages/fretboard/PKGBUILD +++ b/packages/fretboard/PKGBUILD @@ -7,15 +7,22 @@ pkgrel=1 pkgdesc='Simple guitar chord lookup tool' arch=(aarch64 x86_64) url='https://apps.gnome.org/Fretboard/' -license=(GPL-3.0-only) +license=(GPL-3.0-or-later) groups=(pro-audio) depends=(gtk4) makedepends=(blueprint-compiler git libadwaita meson rust) source=("git+https://github.com/bragefuglseth/$pkgname#tag=v$pkgver-fixed") sha256sums=('1125cbfc343c05a1cd2ca91c6cbeda6cb2e3f237e77ee841f500fe8c252b65e4') +prepare() { + cd $pkgname + export RUSTUP_TOOLCHAIN=stable + cargo fetch --locked +} + build() { - arch-meson --reconfigure $pkgname build + export RUSTUP_TOOLCHAIN=stable + arch-meson --reconfigure -Dsandboxed=true $pkgname build meson compile -C build }