void-packages

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

template (732B)


      1# Template file for 'filebrowser'
      2pkgname=filebrowser
      3version=2.9.0
      4revision=1
      5build_style=go
      6go_import_path=github.com/${pkgname}/${pkgname}/v2
      7hostmakedepends="go.rice nodejs"
      8short_desc="Web File Browser which can be used as a middleware or standalone app"
      9maintainer="Dash Eclipse <dashezup@disroot.org>"
     10license="Apache-2.0"
     11homepage="https://filebrowser.org/"
     12changelog="https://raw.githubusercontent.com/filebrowser/filebrowser/master/CHANGELOG.md"
     13distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz"
     14checksum=d87c37f57adb8094603bb76b3d3966fb067ab723ef174fe70d1cecfd0680bfaf
     15tags="ezup nodejs"
     16
     17pre_build() {
     18	(cd frontend; npm install; npm run build)
     19	go mod download
     20	(cd http; rice embed-go)
     21}