gitea: use termux_setup_nodejs and enable autoupdates again

Forgot to fix this during docker imager ubuntu version update.
This commit is contained in:
Henrik Grimler 2022-03-01 09:04:10 +01:00
parent f66938e355
commit 9807139375
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 7 additions and 3 deletions

View File

@ -3,15 +3,19 @@ TERMUX_PKG_DESCRIPTION="Git with a cup of tea, painless self-hosted git service"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.14.6
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/go-gitea/gitea/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=6953049817b86dafa3b8327b7a1b463ef7880f617a9574f03a4b4eb1ea4b6c4d
# Disable autoupdate until nodejs becomes available in CI.
#TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="dash, git"
TERMUX_PKG_CONFFILES="etc/gitea/app.ini"
termux_step_make() {
termux_step_pre_configure() {
termux_setup_nodejs
termux_setup_golang
}
termux_step_make() {
export GOPATH=$TERMUX_PKG_BUILDDIR
mkdir -p "$GOPATH"/src/code.gitea.io