Skip to content

Commit

Permalink
PKGBUILD: move building command to build() function
Browse files Browse the repository at this point in the history
Having the building command a part of `prepare()` is not correct as
various `pacman` options that a user may want to use operate on these
functions. Let's fix that.
  • Loading branch information
Hi-Angel committed Mar 3, 2024
1 parent 6e50613 commit 9863ce0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ license=('GPL-3.0')

prepare() {
npm i
}

build() {
npm run pkg-linux-x64
}

Expand Down

0 comments on commit 9863ce0

Please sign in to comment.