Merge pull request #3486 from jprjr/update-gogs

gogs: update to 0.8.10
This commit is contained in:
Juan RP 2016-01-29 07:42:12 +01:00
commit ea4e114caf

View file

@ -1,7 +1,7 @@
# Template build file for 'gogs'
pkgname=gogs
version=0.7.22
revision=3
version=0.8.10
revision=1
build_style=go
go_import_path="github.com/gogits/gogs"
short_desc="Self-hosted Git Service in Go"
@ -10,7 +10,7 @@ license="MIT"
homepage="http://gogs.io"
depends="git"
distfiles="https://github.com/gogits/gogs/archive/v${version}.tar.gz"
checksum=63a7a2374d73b1eef94df32ce26c535f839504e135643412209ebfdd9a21aedd
checksum=64984f608a5c16cb7f6bb0f3a84798f871bbc0d1311d067702f215f99f5df449
hostmakedepends="git curl"
conf_files="/etc/gogs.ini"
@ -31,8 +31,6 @@ post_extract() {
mkdir tmp
mkdir -p $GOPATH/src/github.com/gogits
ln -s $PWD $GOPATH/src/github.com/gogits/${pkgname}
sed -i 's@golang.org/x/net = commit:937a34c9de13@golang.org/x/net =@' .gopmfile
sed -i 's@golang.org/x/text = commit:5b2527008a4c@golang.org/x/text =@' .gopmfile
TMPDIR=${PWD}/tmp/ GOPMSTORE=${PWD}/tmp/gopm ${FILESDIR}/gopm-lite .gopmfile 1>/dev/null 2>/dev/null
TMPDIR=${PWD}/tmp/ go get -d -tags "sqlite redis memcache" "github.com/gogits/gogs"
}