community/gendesk to 1.0.2-2

This commit is contained in:
Kevin Mihelich 2019-03-20 12:50:57 +00:00
parent 73836acd5e
commit 2f86622c0b

View file

@ -2,16 +2,15 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - !strip option, stripped binary fails under ARM
# - build with go instead of gcc-go
pkgname=gendesk
pkgver=1.0.2
pkgrel=1
pkgrel=2
pkgdesc='Utility for generating desktop files'
arch=('x86_64')
url='https://gendesk.roboticoverlords.org/'
license=('MIT')
makedepends=('go' 'git' 'mercurial')
makedepends=('gcc-go' 'git' 'mercurial')
options=('!strip')
source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
'https://roboticoverlords.org/images/default.png')
@ -27,7 +26,7 @@ prepare() {
build() {
cd $pkgname-$pkgver
GOPATH="$PWD" go build -buildmode=pie -ldflags="-s -w"
GOPATH="$PWD" go build -buildmode=pie -gccgoflags="-s -w $LDFLAGS"
}
package() {