void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit 91a892658f0809cfc016fe8b16ace97055e3a341
parent 362493598b0a329c45ec7173f41c6ed90b0bdda7
Author: Dash Eclipse <dash@ezup.dev>
Date:   Sat, 21 Nov 2020 18:09:38 +0000

New package: filebrowser

Diffstat:
Asrcpkgs/filebrowser/template | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/srcpkgs/filebrowser/template b/srcpkgs/filebrowser/template @@ -0,0 +1,21 @@ +# Template file for 'filebrowser' +pkgname=filebrowser +version=2.9.0 +revision=1 +build_style=go +go_import_path=github.com/${pkgname}/${pkgname}/v2 +hostmakedepends="go.rice nodejs" +short_desc="Web File Browser which can be used as a middleware or standalone app" +maintainer="Dash Eclipse <dash@ezup.dev>" +license="Apache-2.0" +homepage="https://filebrowser.org/" +changelog="https://raw.githubusercontent.com/filebrowser/filebrowser/master/CHANGELOG.md" +distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" +checksum=d87c37f57adb8094603bb76b3d3966fb067ab723ef174fe70d1cecfd0680bfaf +tags="ezup nodejs" + +pre_build() { + (cd frontend; npm install; npm run build) + go mod download + (cd http; rice embed-go) +}