commit
ea4e114caf
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'gogs'
|
# Template build file for 'gogs'
|
||||||
pkgname=gogs
|
pkgname=gogs
|
||||||
version=0.7.22
|
version=0.8.10
|
||||||
revision=3
|
revision=1
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path="github.com/gogits/gogs"
|
go_import_path="github.com/gogits/gogs"
|
||||||
short_desc="Self-hosted Git Service in Go"
|
short_desc="Self-hosted Git Service in Go"
|
||||||
|
@ -10,7 +10,7 @@ license="MIT"
|
||||||
homepage="http://gogs.io"
|
homepage="http://gogs.io"
|
||||||
depends="git"
|
depends="git"
|
||||||
distfiles="https://github.com/gogits/gogs/archive/v${version}.tar.gz"
|
distfiles="https://github.com/gogits/gogs/archive/v${version}.tar.gz"
|
||||||
checksum=63a7a2374d73b1eef94df32ce26c535f839504e135643412209ebfdd9a21aedd
|
checksum=64984f608a5c16cb7f6bb0f3a84798f871bbc0d1311d067702f215f99f5df449
|
||||||
hostmakedepends="git curl"
|
hostmakedepends="git curl"
|
||||||
|
|
||||||
conf_files="/etc/gogs.ini"
|
conf_files="/etc/gogs.ini"
|
||||||
|
@ -31,8 +31,6 @@ post_extract() {
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
mkdir -p $GOPATH/src/github.com/gogits
|
mkdir -p $GOPATH/src/github.com/gogits
|
||||||
ln -s $PWD $GOPATH/src/github.com/gogits/${pkgname}
|
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/ 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"
|
TMPDIR=${PWD}/tmp/ go get -d -tags "sqlite redis memcache" "github.com/gogits/gogs"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue