blob: dad67a412d4f90fa83c5ee52e87d8a84a0620034 (
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.40.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/56/c5/21cc236f980de46052546605030134289b61f274407207b95bf31fc6ba6a/${pkgname}-${pkgver}.tar.gz"
"az")
sha512sums=('529682ee838db9773b329307e63ffc2f3e73b20aeb0e4f544b58c4e1d1228db63188a557da7a9dde8102b33022a66dd8870bb31d93ab41891b7fff38e9b760d4'
'94a9d3daeced17fccae9cb94638a82db0515e4c7fd6b8bbe68f9b428dc84c19a6c956a809c160083e040180914665a3980c257e9f210c431c8d46d574bf113ba')
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"
}
|