From 9863ce066965a258460904414dad1d8a6bc246e6 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Mon, 4 Mar 2024 00:39:30 +0300 Subject: [PATCH] PKGBUILD: move building command to `build()` function 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. --- PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 07256da8..53fd61db 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,6 +9,9 @@ license=('GPL-3.0') prepare() { npm i +} + +build() { npm run pkg-linux-x64 }