Skip to content

Commit

Permalink
enable sandboxed modus
Browse files Browse the repository at this point in the history
  • Loading branch information
cbix committed Jun 5, 2024
1 parent 271b0b4 commit 0ac24b5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packages/fretboard/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 0ac24b5

Please sign in to comment.