summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpallxk2020-11-18 15:44:53 +0800
committerpallxk2020-11-18 15:44:53 +0800
commit0337617d1269af0b6eca26cd6cf544d8e2d44cb2 (patch)
tree3cb42b2b12c18c9a181d7f108ee34436c058a609
parentfe21ec163de768c41d76da838e150c417bbda2f5 (diff)
downloadaur-0337617d1269af0b6eca26cd6cf544d8e2d44cb2.tar.gz
Use versioned url for install.py
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0117c2a1a10e..5260d8832e11 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,17 @@
pkgbase = azure-cli
pkgdesc = Command-line tools for Azure.
pkgver = 2.15.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Azure/azure-cli
arch = any
license = MIT
depends = python
conflicts = python-azure-cli
options = !strip
- source = https://azurecliprod.blob.core.windows.net/install.py
+ source = https://raw.githubusercontent.com/Azure/azure-cli/azure-cli-2.15.0/scripts/curl_install_pypi/install.py
source = install.response
source = az
- sha256sums = SKIP
+ sha256sums = 1b2f3c77c9bc4b0027d930c5dd39abe9ef4a72eea198289bcdaa2f68e5650166
sha256sums = 7c05e9915a52fb72fa8d1c498b173c42457d669351313eaddccf43f86ed0e0ec
sha256sums = 990f70efec828c1e1f3f57748fc6e40f9705f2223dc96683e8e29d118daac116
diff --git a/PKGBUILD b/PKGBUILD
index 5e0de674a0fe..d0b82e6ca822 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,17 @@
pkgname=azure-cli
pkgver=2.15.0
-pkgrel=1
+pkgrel=2
pkgdesc="Command-line tools for Azure."
arch=('any')
url="https://github.com/Azure/azure-cli"
license=('MIT')
depends=("python")
conflicts=("python-azure-cli")
-source=("https://azurecliprod.blob.core.windows.net/install.py"
+source=("https://raw.githubusercontent.com/Azure/azure-cli/azure-cli-$pkgver/scripts/curl_install_pypi/install.py"
"install.response"
"az")
-# SKIP checking sum for install.py as it's changed periodically without URL
-# versioned, breaking helpers like yay or manual build without clean. And it's
-# using https so we should be fine. If incompatible changes of the script occur
-# in the future, the sum should get checked again.
-sha256sums=("SKIP" # "8835ac5023e292b9c3afa44f7e9a2c0058c56789114891fb921ee85fbc9c2002"
+sha256sums=("1b2f3c77c9bc4b0027d930c5dd39abe9ef4a72eea198289bcdaa2f68e5650166"
"7c05e9915a52fb72fa8d1c498b173c42457d669351313eaddccf43f86ed0e0ec"
"990f70efec828c1e1f3f57748fc6e40f9705f2223dc96683e8e29d118daac116")
options=(!strip)