[arch-commits] Commit in aliyun-cli/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Dec 14 22:59:13 UTC 2020
Date: Monday, December 14, 2020 @ 22:59:12
Author: anthraxx
Revision: 775777
upgpkg: aliyun-cli 3.0.64-1
Modified:
aliyun-cli/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-14 22:53:16 UTC (rev 775776)
+++ PKGBUILD 2020-12-14 22:59:12 UTC (rev 775777)
@@ -2,8 +2,8 @@
# Contributor: Andreas 'Segaja' Schleifer <archlinux at segaja dot de>
pkgname=aliyun-cli
-pkgver=3.0.50
-_aliyun_openapi_meta_commit=57cfcbb99c6bfe7016deebfa991328ae7c31ff12
+pkgver=3.0.64
+_aliyun_openapi_meta_commit=9ce1f8ae486d76f0fc92a33082b764e73d5bf955
pkgrel=1
pkgdesc='Alibaba Cloud CLI'
arch=('x86_64')
@@ -13,9 +13,9 @@
makedepends=('git' 'go' 'go-bindata')
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
"git+https://github.com/aliyun/aliyun-openapi-meta#commit=${_aliyun_openapi_meta_commit}")
-sha512sums=('b1d6f088089f2ceb5ccc8e766fa6f80273e1a3110d0f380bee71714c2d486d5c7d1ce82cb0676010d2c842e431e94b12db389b2f22a532f811e25064ee0dfae0'
+sha512sums=('18126b864a00bac6af6fc1d2b25427d0481681f6b125e2d5aef555e8e562e7170185d0a83a4cc3ce9ad18f393c12e24d40a1af555738ee447dff20446f3c6d12'
'SKIP')
-b2sums=('ef1b7494981599a809958d434acd00e31be554362bd5ea78f02af148033c2e9053935500276d678d328c54c620b52651ae15931220fbebe88010d079105cbf81'
+b2sums=('82b23ab1367d158e84fc6fcd370a6e369dd2551429aa5165489d1d8a292d43635019cab4865c5fac1d196594c71d1c5004143fc371fbc577ba536545047aeecb'
'SKIP')
prepare() {
@@ -36,7 +36,7 @@
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=vendor"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=vendor -modcacherw -ldflags=-linkmode=external"
go-bindata \
-o resource/metas.go \
@@ -44,7 +44,7 @@
../aliyun-openapi-meta/...
go build \
- -ldflags "-X 'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
+ -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
-o ./out/aliyun ./main/main.go
}
More information about the arch-commits
mailing list