summaryrefslogtreecommitdiff
path: root/azure-cli-bin
diff options
context:
space:
mode:
Diffstat (limited to 'azure-cli-bin')
-rw-r--r--azure-cli-bin/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/azure-cli-bin/PKGBUILD b/azure-cli-bin/PKGBUILD
new file mode 100644
index 000000000..1122a4a09
--- /dev/null
+++ b/azure-cli-bin/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Erich Eckner <arch at eckner dot net>
+# Contributor: Rodrigo Farias <rodrigofarias77@gmail.com>
+
+pkgname=azure-cli-bin
+pkgver=2.43.0
+pkgrel=1
+pkgdesc='Azure Command-Line Interface (Debian package)'
+arch=('any')
+url='https://github.com/Azure/azure-cli'
+license=('MIT')
+depends=('openssl-1.1' 'python')
+conflicts=('azure-cli' 'python-azure-cli')
+source=("https://packages.microsoft.com/repos/azure-cli/pool/main/a/azure-cli/azure-cli_${pkgver}-1~bullseye_all.deb")
+md5sums=('e50ddc37275738db457ee989a124affc')
+
+package () {
+ cd "${pkgdir}"
+ bsdtar -xf "${srcdir}/data.tar.xz"
+ rm -r usr/share/doc
+ find -name __pycache__ | xargs rm -r
+}