diff --git a/filebrowser/Makefile b/filebrowser/Makefile index 58cd019f4..f457cd28d 100644 --- a/filebrowser/Makefile +++ b/filebrowser/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=filebrowser PKG_VERSION:=2.63.23 -PKG_RELEASE:=22 +PKG_RELEASE:=23 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/filebrowser/filebrowser/tar.gz/v$(PKG_VERSION)? @@ -48,20 +48,17 @@ define Package/filebrowser/conffiles /etc/config/filebrowser endef -define Build/Prepare - $(call Build/Prepare/Default) +define Build/Compile ( \ export PNPM_HOME="$(PKG_BUILD_DIR)/frontend" ; \ pushd "$(PKG_BUILD_DIR)/frontend" ; \ pnpm install --frozen-lockfile ; \ pnpm run build ; \ + popd ; \ + $(call GoPackage/Build/Compile) ; \ ) endef -define Build/Compile - $(call GoPackage/Build/Compile) -endef - define Package/filebrowser/install $(call GoPackage/Package/Install/Bin,$(1))