diff --git a/srcpkgs/gitea/files/gitea/run b/srcpkgs/gitea/files/gitea/run index 591e977e72..d24ce523bb 100755 --- a/srcpkgs/gitea/files/gitea/run +++ b/srcpkgs/gitea/files/gitea/run @@ -1,7 +1,7 @@ #!/bin/sh # We cd here, because builtin SSH won't run without. -cd /var/lib/gitea +cd /var/lib/gitea || exit 1 # The USER variable is needed here because gitea doesn't actually # check what user its running as, it instead grabs the USER variable diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index 2d998594cc..e8843a9f1a 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -1,6 +1,6 @@ # Template file for 'gitea' pkgname=gitea -version=1.15.8 +version=1.16.1 revision=1 create_wrksrc=yes build_style=go @@ -23,7 +23,7 @@ go_ldflags=" -X main.Version=${version}" # rather not use SQLite3 for some reason. It is also potentially # more resiliant to corrupted writes. go_build_tags="bindata sqlite pam tidb" -hostmakedepends="go-bindata git" +hostmakedepends="go-bindata" makedepends="sqlite-devel pam-devel" depends="git bash" short_desc="Git with a cup of Tea" @@ -32,7 +32,7 @@ license="MIT" homepage="https://gitea.io" changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md" distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz" -checksum=a05745e5c1b5e9b51caa3d96fd93689176689865a0c249aa477d411e5c082045 +checksum=09a27a06bf12cbef06ba823c516c6c9f7a06129e91dd7e64be5f6f0ca641d5b7 system_accounts="_gitea" _gitea_homedir="/var/lib/gitea" @@ -41,10 +41,6 @@ make_dirs="/var/lib/gitea 0755 _gitea _gitea /var/log/gitea 0755 _gitea root" conf_files="/etc/gitea.conf" -pre_build() { - go mod vendor -} - post_install() { vlicense LICENSE vsv gitea