mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
community/gendesk to 1.0.2-2
This commit is contained in:
parent
73836acd5e
commit
2f86622c0b
1 changed files with 3 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue