[arch-commits] Commit in aliyun-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Tue Nov 2 16:46:40 UTC 2021


    Date: Tuesday, November 2, 2021 @ 16:46:40
  Author: orhun
Revision: 1035391

archrelease: copy trunk to community-x86_64

Added:
  aliyun-cli/repos/community-x86_64/PKGBUILD
    (from rev 1035390, aliyun-cli/trunk/PKGBUILD)
Deleted:
  aliyun-cli/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-02 16:46:32 UTC (rev 1035390)
+++ PKGBUILD	2021-11-02 16:46:40 UTC (rev 1035391)
@@ -1,71 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Andreas 'Segaja' Schleifer <archlinux at segaja dot de>
-
-pkgname=aliyun-cli
-_gitcommit=35b711e4d793210e533513a96ff1b1a014c1e443
-pkgver=3.0.96
-pkgrel=1
-pkgdesc='Alibaba Cloud CLI'
-arch=('x86_64')
-url='https://github.com/aliyun/aliyun-cli'
-license=('APACHE')
-depends=('glibc')
-makedepends=('git' 'go' 'go-bindata')
-source=("git+${url}#commit=${_gitcommit}"
-        git+https://github.com/aliyun/aliyun-openapi-meta)
-sha512sums=('SKIP'
-            'SKIP')
-b2sums=('SKIP'
-        'SKIP')
-
-pkgver() {
-  cd ${pkgname}
-  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-prepare() {
-  cd ${pkgname}
-  git submodule init
-  git config submodule."aliyun-openapi-meta".url "${srcdir}/aliyun-openapi-meta"
-  git submodule update --recursive
-}
-
-build() {
-  cd ${pkgname}
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
-
-  echo "generating bindata..."
-  go-bindata \
-      -o resource/metas.go \
-      -pkg resource \
-      ./aliyun-openapi-meta/...
-
-  echo "building..."
-  go build \
-    -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
-    -o ./out/aliyun ./main/main.go
-}
-
-check() {
-  cd ${pkgname}
-
-  # Horrible but needed for the ./cli/ tests
-  touch "${HOME}/.bashrc"
-
-  # for now can't test the `./oss/...` folder, because it needs an env file that is not so easy to have in dev
-  go test \
-    ./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
-}
-
-package() {
-  cd ${pkgname}
-  install -Dm 755 out/aliyun "${pkgdir}/usr/bin/aliyun"
-  install -Dm 644 README*.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 bin/README.md -t "${pkgdir}/usr/share/doc/${pkgname}/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: aliyun-cli/repos/community-x86_64/PKGBUILD (from rev 1035390, aliyun-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-02 16:46:40 UTC (rev 1035391)
@@ -0,0 +1,71 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Andreas 'Segaja' Schleifer <archlinux at segaja dot de>
+
+pkgname=aliyun-cli
+_gitcommit=c7fcd99701bc2624189c63a08649ce44d8bcbec6
+pkgver=3.0.97
+pkgrel=1
+pkgdesc='Alibaba Cloud CLI'
+arch=('x86_64')
+url='https://github.com/aliyun/aliyun-cli'
+license=('APACHE')
+depends=('glibc')
+makedepends=('git' 'go' 'go-bindata')
+source=("git+${url}#commit=${_gitcommit}"
+        git+https://github.com/aliyun/aliyun-openapi-meta)
+sha512sums=('SKIP'
+            'SKIP')
+b2sums=('SKIP'
+        'SKIP')
+
+pkgver() {
+  cd ${pkgname}
+  git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+  cd ${pkgname}
+  git submodule init
+  git config submodule."aliyun-openapi-meta".url "${srcdir}/aliyun-openapi-meta"
+  git submodule update --recursive
+}
+
+build() {
+  cd ${pkgname}
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags=-linkmode=external"
+
+  echo "generating bindata..."
+  go-bindata \
+      -o resource/metas.go \
+      -pkg resource \
+      ./aliyun-openapi-meta/...
+
+  echo "building..."
+  go build \
+    -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X 'github.com/aliyun/aliyun-cli/cli.Version=${pkgver}'" \
+    -o ./out/aliyun ./main/main.go
+}
+
+check() {
+  cd ${pkgname}
+
+  # Horrible but needed for the ./cli/ tests
+  touch "${HOME}/.bashrc"
+
+  # for now can't test the `./oss/...` folder, because it needs an env file that is not so easy to have in dev
+  go test \
+    ./cli/... ./config/... ./i18n/... ./main/... ./openapi/... ./resource/...
+}
+
+package() {
+  cd ${pkgname}
+  install -Dm 755 out/aliyun "${pkgdir}/usr/bin/aliyun"
+  install -Dm 644 README*.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 bin/README.md -t "${pkgdir}/usr/share/doc/${pkgname}/bin"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list