Skip to content

Commit

Permalink
build(rism-gui): Add sed as a makedepend
Browse files Browse the repository at this point in the history
  • Loading branch information
neferin12 committed Apr 29, 2024
1 parent ce3ffc0 commit 9738150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions arch_pkgs/rism-gui/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ pkgbase = rism-gui
makedepends = binutils
makedepends = nodejs
makedepends = npm
makedepends = sed
depends = webkit2gtk
depends = z3
source = rism-gui-0.1.0.tar.gz::https://github.com/neferin12/iSM/archive/refs/tags/rism-gui-v0.1.0.tar.gz
Expand Down
3 changes: 2 additions & 1 deletion arch_pkgs/rism-gui/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ arch=('x86_64')
url='https://github.com/neferin12/iSM'
license=('MIT')
depends=('webkit2gtk' 'z3')
makedepends=('cargo' 'clang' 'binutils' 'nodejs' 'npm')
makedepends=('cargo' 'clang' 'binutils' 'nodejs' 'npm' 'sed')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/rism-gui-v$pkgver.tar.gz")
_dir="iSM-rism-gui-v$pkgver/gui/tauri-gui"
prepare() {
cd $_dir
npm install
cd src-tauri
sed -i 's/yarn/npm/g' tauri.conf.json
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
Expand Down

0 comments on commit 9738150

Please sign in to comment.