gitea: fix init
This commit is contained in:
parent
f35aa4cc19
commit
fe1c0b70ff
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Whe cd here, because builtin SSH won't run without.
|
||||
cd /var/lib/gitea
|
||||
|
||||
# The USER variable is needed here because gitea doesn't actually
|
||||
# check what user its running as, it instead grabs the USER variable
|
||||
# from the environment. HOME is set for the same reasons.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gitea'
|
||||
pkgname=gitea
|
||||
version=1.7.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path=code.gitea.io/gitea
|
||||
# This could be done with build options, but these are built in with the
|
||||
|
@ -21,6 +21,7 @@ go_import_path=code.gitea.io/gitea
|
|||
# rather not use SQLite3 for some reason. It is also potentially
|
||||
# more resiliant to corrupted writes.
|
||||
go_build_tags="bindata sqlite pam tidb"
|
||||
go_ldflags=" -X main.Version=$version"
|
||||
hostmakedepends="go-bindata"
|
||||
makedepends="sqlite-devel pam-devel"
|
||||
depends="git"
|
||||
|
@ -31,7 +32,6 @@ homepage="https://gitea.io"
|
|||
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/go-gitea/gitea/archive/v${version}.tar.gz"
|
||||
checksum=7a28bac36cf06e1a90c2df692256a79d29cc6e652aa89f4c77833b9a8481a541
|
||||
go_ldflags=" -X main.Version=$version"
|
||||
|
||||
system_accounts="_gitea"
|
||||
_gitea_homedir="/var/lib/gitea"
|
||||
|
|
Loading…
Reference in New Issue