blob: f2e1ecb41a99d8e55ae3eebef2f3c86c6a5582b0 (
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
31
|
# 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.56.0
pkgrel=1
pkgdesc="Command-line tools for Azure."
arch=('any')
url="https://github.com/Azure/azure-cli"
license=('MIT')
makedepends=(python-setuptools)
depends=(python-azure-cli-core)
source=("https://pypi.python.org/packages/bf/09/8289c8a23072b77595592428ad70772ed470cf014b64c1c9956d02f8fb66/${pkgname}-${pkgver}.tar.gz"
"az")
sha512sums=('12f963e537e7f4ffd61a5293ebecae767a30e2ff1453748b0cc4fcbeec6e644c676908c26078944b1774e14f6fbb6bae3969e6a545de7d4d088c3ae29fe3d518'
'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"
}
|