blob: 15acaef9a934637cb6fc11e185a33d43d024a28e (
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.38.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/33/ff/2f79328166034fd8254abf650b9f87f068d46a550ae731c6d731b233abb3/${pkgname}-${pkgver}.tar.gz"
"az")
sha512sums=('c1202a2c32bce931c87dfebca33a6d6340f9261e50a5769de411ef6754ca9c99b3ca809887cdcdbc182f8a78b45b86e6faa9d2831c969d8c56a059e7d02c7003'
'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"
}
|