diff options
author | Nixuge | 2024-06-01 11:36:18 +0200 |
---|---|---|
committer | Nixuge | 2024-06-01 11:36:18 +0200 |
commit | 2af3c72a4ebe3c73c5b2d9099ec3b3e1af750b18 (patch) | |
tree | 486bf0652c166673930c941340a5afa0a51f6edb /PKGBUILD | |
parent | c91a28f7e72a181b6c2579cc4c2a4d9765558e60 (diff) | |
download | aur-2af3c72a4ebe3c73c5b2d9099ec3b3e1af750b18.tar.gz |
Some cleanup (remove yarn dependency & allow building w other pnpm versions)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -2,7 +2,7 @@ pkgname=modrinth-app-git _gitname=theseus -pkgver=r178.6d9d403 +pkgver=r241.7394fdc pkgrel=1 pkgdesc='Official Modrinth launcher. Open-source, built by the community, for the community.' url=https://github.com/modrinth/theseus @@ -11,8 +11,8 @@ license=(GPL3) conflicts=('modrinth-app') provides=('modrinth-app') depends=('webkit2gtk') -makedepends=('cargo-tauri' 'yarn' 'pnpm' 'git') -options=(!lto) # Enable devtools (thanks @FabioLolix) +makedepends=('cargo-tauri' 'pnpm' 'git') +options=(!lto !debug) # !lto = Enable devtools (thanks @FabioLolix) source=("git+https://github.com/modrinth/theseus") sha256sums=('SKIP') @@ -31,7 +31,12 @@ build() { "s|\"targets\": \"all\"|\"targets\": \"deb\"|" \ "src-tauri/tauri.conf.json" - yarn install + # Allow using other pnpm versions as this doesn't seem to cause errors + # & doesn't require to install another pnpm version for no reason + # (excepted = 8.6.0, current = 9.1.4) + export COREPACK_ENABLE_STRICT=0 + pnpm install + cargo tauri build } |