diff options
author | Bryan Childs | 2019-05-08 13:27:33 +0100 |
---|---|---|
committer | Bryan Childs | 2019-05-08 13:27:33 +0100 |
commit | 60c735c9b51dc5a2a48534eec8b8a202893f2561 (patch) | |
tree | a88bf0229fd2d354b7a9ba83a795c7ec078211ff | |
parent | edd2d5a827de59c24b9393f80ef409bd762f09fb (diff) | |
download | aur-60c735c9b51dc5a2a48534eec8b8a202893f2561.tar.gz |
Updated ldflags to use new names for Version, Commit and Date
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = chezmoi pkgdesc = Multi-machine dotfile management system pkgver = 1.5.0 - pkgrel = 9 + pkgrel = 10 url = https://github.com/twpayne/chezmoi arch = i686 arch = x86_64 @@ -2,7 +2,7 @@ # Maintainer: <godeater@gmail.com> pkgname=chezmoi pkgver=1.5.0 -pkgrel=9 +pkgrel=10 epoch= pkgdesc="Multi-machine dotfile management system" arch=('i686' 'x86_64') @@ -18,9 +18,9 @@ sha256sums=('a3058b6686d8282006e89611b6cd029f2137c21668cae76d52c20ce1419e07e2') build() { cd "$srcdir/$pkgname-$pkgver" - extraldflags=" -X github.com/twpayne/chezmoi/cmd.version=1.5.0 \ - -X github.com/twpayne/chezmoi/cmd.commit=d98b524 \ - -X github.com/twpayne/chezmoi/cmd.date=20190503" + extraldflags=" -s -w -X github.com/twpayne/chezmoi/cmd.VersionStr=1.5.0 \ + -X github.com/twpayne/chezmoi/cmd.Commit=d98b524 \ + -X github.com/twpayne/chezmoi/cmd.Date=20190503" go build \ -gcflags "all=-trimpath=$PWD" \ |