blob: 325d9689457035508adb95eb52163a4c558e7619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: pallxk <aur@pallxk.com>
# https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux
pkgname=azure-cli
_pkgname="${pkgname}"
pkgver=2.36.0
pkgrel=1
pkgdesc="Command-line tools for Azure."
arch=('any')
url="https://github.com/Azure/azure-cli"
license=('MIT')
makedepends=(python-setuptools)
source=("https://pypi.python.org/packages/cf/07/da0a0f237083176db6abec0419e4ce96168b50c65c2f6d61618aad8e36f5/${pkgname}-${pkgver}.tar.gz"
"az")
sha256sums=('1896dc334ea481b6fbd43f2ab04e3f7603f89143b8d1d41d455d1c828bbc0dd1'
'990f70efec828c1e1f3f57748fc6e40f9705f2223dc96683e8e29d118daac116')
options=(!strip)
build() {
cd "${_pkgname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
install -Dm755 az "$pkgdir/usr/bin"
}
|