# Maintainer: Erich Eckner # Contributor: pallxk # https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux pkgname=azure-cli _pkgname="${pkgname}" pkgver=2.51.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/f5/d3/8912786c677ad5f63d60b7462cb58e12d00303a9d3d5ed02a32ef6b00603/${pkgname}-${pkgver}.tar.gz" "az") sha512sums=('ee4ad0e7ef7c2a83d821c0d8628993a2d6accd785501bb5c047370ab9b0887dcb64f129afd0dc5cd277d4615b26a168480f59d56791e485bcf6c077158cbc866' '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" }