# Maintainer: Erich Eckner # Contributor: pallxk # 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=('x86_64') 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" }