diff options
author | Shohei Maruyama | 2023-12-02 23:05:36 +0900 |
---|---|---|
committer | Shohei Maruyama | 2023-12-02 23:05:36 +0900 |
commit | 8d713da2c5df5a2ae4e452ee0613d092cee6c598 (patch) | |
tree | cf8040d0b40b9be8dc407565a8d6360c2ac377fa | |
parent | 9bf84a6049494587189a1a0ad00bf1dc9a81029b (diff) | |
download | aur-8d713da2c5df5a2ae4e452ee0613d092cee6c598.tar.gz |
PKGBUILD: Migrate 'pnpm prep' to build()
'pnpm prep' runs 'cargo' internally, so it should be in build().
Signed-off-by: Shohei Maruyama <cheat.sc.linux@outlook.com>
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 3 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = spacedrive pkgdesc = Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust. pkgver = 0.1.2 - pkgrel = 3 + pkgrel = 4 url = https://spacedrive.com/ arch = x86_64 license = AGPL3 @@ -2,7 +2,7 @@ pkgname='spacedrive' pkgver=0.1.2 -pkgrel=3 +pkgrel=4 pkgdesc='Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.' arch=('x86_64') url='https://spacedrive.com/' @@ -15,11 +15,7 @@ sha256sums=('21ae09726139d445174f1b92dd47ec626291a64b7846ed14cc1f44aa658c2d88') prepare() { cd "${pkgname}-${pkgver}" - export CARGO_TARGET_DIR=target - export RUSTUP_TOOLCHAIN=1.73 - pnpm install - pnpm prep } build() { @@ -28,6 +24,7 @@ build() { export CARGO_TARGET_DIR=target export RUSTUP_TOOLCHAIN=1.73 + pnpm prep pnpm tauri build --bundles app } |