gogs: Adjust ld-flags, contributor notes, conflicts
This commit is contained in:
parent
aef27f4151
commit
d01fa42e72
|
@ -1,11 +1,11 @@
|
|||
# Maintainer: Thomas Fanninger <thomas@fanninger.at>
|
||||
# Maintainer: Martchus <martchus@gmx.net>>
|
||||
# Contributor: Thomas Fanninger <thomas@fanninger.at>
|
||||
# Contributor: Thomas Laroche <tho.laroche@gmail.com>
|
||||
# Contributor: Martchus <martchus@gmx.net>>
|
||||
|
||||
pkgname=gogs
|
||||
_pkgname=${pkgname}
|
||||
pkgver=0.11.4
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
epoch=1
|
||||
pkgdesc='Self Hosted Git Service written in Go'
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
|
@ -20,7 +20,7 @@ optdepends=('sqlite: SQLite support'
|
|||
'memcached: MemCached support'
|
||||
'openssh: GIT over SSH support')
|
||||
makedepends=('go>=1.3')
|
||||
conflicts=('gogs-bin' 'gogs-git' 'gogs-git-dev')
|
||||
conflicts=('gogs-bin' 'gogs-git' 'gogs-dev-git')
|
||||
options=('!strip' '!emptydirs')
|
||||
backup=('etc/gogs/app.ini')
|
||||
install=gogs.install
|
||||
|
@ -67,7 +67,7 @@ build() {
|
|||
cd "$GOPATH/src/${_gourl}"
|
||||
|
||||
go fix
|
||||
go build -x -tags='sqlite pam cert'
|
||||
go build -x -ldflags="-s -w" -tags='sqlite pam cert'
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in New Issue