# Maintainer: Erich Eckner # Contributor: pallxk # https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux pkgname=azure-cli _pkgname="${pkgname//-/_}" pkgver=2.64.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://files.pythonhosted.org/packages/8a/2d/cc0ccae02c6f0f00cb0d56460e568975fbe55ce1951c82ffe4c12197dbdf/${_pkgname}-${pkgver}.tar.gz" "az") sha256sums=('d72fdd526920edda93bed4c85bb4cd26ecf508ab966f0c26de1d2459a8b58355' '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" }