dnote-server: fix build

Signed-off-by: Kevin WIlliams <admin@utermux.dev>
Co-authored-by: Raven Ravener <ravener.anime@gmail.com>
This commit is contained in:
Kevin WIlliams 2023-08-12 13:47:09 +08:00 committed by Kevin Williams
parent 1ac95d7729
commit 70124d7baf
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="This package contains the Dnote server. It comprises of
TERMUX_PKG_LICENSE="AGPL-V3"
TERMUX_PKG_MAINTAINER="Ravener <ravener.anime@gmail.com>"
TERMUX_PKG_VERSION=2.1.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/dnote/dnote/archive/refs/tags/server-v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5326694dd4c1721e52b871cebc3b99f9172d5e27c8eb71234cdf529bdcd14eee
TERMUX_PKG_BUILD_IN_SRC=true
@ -17,7 +17,7 @@ termux_step_pre_configure() {
# build assets for dnote-server:
cd "$TERMUX_PKG_SRCDIR/pkg/server/assets"
npm update && npm i
npm i
./js/build.sh
./styles/build.sh
}