Commit 52382293 authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

testing/gogs: build with pie and enable sqlite

parent 700d7d7f
......@@ -2,7 +2,7 @@
# Maintainer: 7heo <7heo@mail.com>
pkgname=gogs
pkgver=0.9.13
pkgrel=0
pkgrel=1
pkgdesc="A self-hosted Git service written in Go"
url="http://gogs.io/"
arch="all"
......@@ -32,7 +32,7 @@ snapshot() {
https://$_gourl $builddir || return 1
cd $builddir
# fetch deps
go get -v -d -tags "redis memcache" || return 1
go get -v -d -tags "sqlite redis memcache" || return 1
cd "$srcdir"
tar zcf $pkgname-$pkgver.tar.gz src || return 1
rsync --progress -La $pkgname-$pkgver.tar.gz \
......@@ -44,7 +44,7 @@ build() {
cd "$builddir"/$pkgname || return 1
export GOPATH="$srcdir"
go fix || return 1
go build -v -tags "redis memcache cert" || return 1
go build -buildmode=pie -v -tags "sqlite redis memcache cert" || return 1
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment