summaryrefslogtreecommitdiff
path: root/azure-cli-bin
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 12:47:06 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-01-02 16:40:56 +0100
commitf42272aaa280956d77891d40039c9ba67bfb8882 (patch)
treead828671dc0139f23800574fe7a2ba88539b3ea4 /azure-cli-bin
parent33271ea04d8b2dd02000aefb477bd207475b441a (diff)
downloadarchlinuxewe-f42272aaa280956d77891d40039c9ba67bfb8882.tar.xz
try to fix azure-cli packages
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
+}