[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Mon Oct 7 09:11:30 UTC 2019


    Date: Monday, October 7, 2019 @ 09:11:29
  Author: arodseth
Revision: 513691

Add k9s, a tool for managing Kubernetes pods

Added:
  k9s/
  k9s/repos/
  k9s/repos/community-x86_64/
  k9s/trunk/
  k9s/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: k9s/trunk/PKGBUILD
===================================================================
--- k9s/trunk/PKGBUILD	                        (rev 0)
+++ k9s/trunk/PKGBUILD	2019-10-07 09:11:29 UTC (rev 513691)
@@ -0,0 +1,25 @@
+# Maintainer: Alexander F. Rødseth <derailed at archlinux.org>
+
+pkgname=k9s
+pkgver=0.9.1
+pkgrel=1
+pkgdesc='Kubernetes TUI for managing clusters and pods'
+arch=(x86_64)
+url='https://github.com/derailed/k9s'
+license=(APACHE)
+makedepends=(git go)
+source=("git+$url#commit=452a8e4") # 0.9.1
+sha256sums=('SKIP')
+
+build() {
+  cd $pkgname
+  go build -gcflags "all=-trimpath=${PWD}" -asmflags "all=-trimpath=${PWD}" -ldflags "-extldflags ${LDFLAGS}"
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list