diff options
author | Shohei Maruyama | 2023-12-02 22:27:07 +0900 |
---|---|---|
committer | Shohei Maruyama | 2023-12-02 22:33:48 +0900 |
commit | 40c7c6928c1b47dff6331c3ed4baa006cc966241 (patch) | |
tree | 8b2f0bc9fd852498aa2a8cf990eb51ec0bdb40c8 | |
parent | d96933113bb4e9ae7031619c6f4dbd4f5edf8f36 (diff) | |
download | aur-40c7c6928c1b47dff6331c3ed4baa006cc966241.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 | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = spacedrive-git pkgdesc = Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust. pkgver = r2297.8ad468b - pkgrel = 3 + pkgrel = 4 url = https://spacedrive.com/ arch = x86_64 license = AGPL3 @@ -2,7 +2,7 @@ pkgname='spacedrive-git' pkgver=r2297.8ad468b -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/' @@ -21,10 +21,7 @@ pkgver() { prepare() { cd "${pkgname%-git}" - export CARGO_TARGET_DIR=target - pnpm install - pnpm prep } build() { @@ -32,6 +29,7 @@ build() { export CARGO_TARGET_DIR=target + pnpm prep pnpm tauri build --bundles app } |