[arch-commits] Commit in (istio istio/repos istio/trunk istio/trunk/PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sun Mar 14 22:44:25 UTC 2021
Date: Sunday, March 14, 2021 @ 22:44:25
Author: shibumi
Revision: 891325
add istio
Added:
istio/
istio/repos/
istio/trunk/
istio/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: istio/trunk/PKGBUILD
===================================================================
--- istio/trunk/PKGBUILD (rev 0)
+++ istio/trunk/PKGBUILD 2021-03-14 22:44:25 UTC (rev 891325)
@@ -0,0 +1,33 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Arturo Penen <apenen at gmail.com>
+
+pkgname=istio
+pkgver=1.9.1
+pkgrel=2
+pkgdesc='Istio configuration command line utility for service operators to debug and diagnose their Istio mesh.'
+arch=('x86_64')
+url='https://github.com/istio/istio'
+license=('Apache')
+makedepends=('go')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/istio/istio/archive/$pkgver.tar.gz")
+sha512sums=('fb075ea332055e44b53ae54cbf46fdbf9b8ca607276690088cc40d11b6481af8e44699227eba59c1d851ef23c80bcb656caffe719fc71cc78d97e01235d147de')
+
+build() {
+ cd $pkgname-$pkgver
+ export VERSION=$pkgver
+ export TAG=$pkgver
+ export BUILD_WITH_CONTAINER=0
+ make build
+}
+
+package() {
+ install -Dm 755 "${srcdir}/$pkgname-$pkgver/out/linux_amd64/istioctl" "${pkgdir}/usr/bin/istioctl"
+
+ # Populate bash and zsh completions
+ install -dm 755 "${pkgdir}/usr/share/bash-completion/completions"
+ install -dm 755 "${pkgdir}/usr/share/zsh/site-functions"
+ "${pkgdir}/usr/bin/istioctl" collateral --bash
+ mv istioctl.bash "${pkgdir}/usr/share/bash-completion/completions/istioctl"
+ "${pkgdir}/usr/bin/istioctl" collateral --zsh
+ mv _istioctl "${pkgdir}/usr/share/zsh/site-functions/_istioctl"
+}
More information about the arch-commits
mailing list