From d01fa42e72fed479a3920158f319f73cf499e326 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sat, 20 May 2017 16:05:58 +0200 Subject: [PATCH] gogs: Adjust ld-flags, contributor notes, conflicts --- gogs/default/PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gogs/default/PKGBUILD b/gogs/default/PKGBUILD index 95775b54..627ed1d2 100644 --- a/gogs/default/PKGBUILD +++ b/gogs/default/PKGBUILD @@ -1,11 +1,11 @@ -# Maintainer: Thomas Fanninger +# Maintainer: Martchus > +# Contributor: Thomas Fanninger # Contributor: Thomas Laroche -# Contributor: Martchus > 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() {