[arch-commits] Commit in k9s/repos/community-x86_64 (PKGBUILD)

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


    Date: Monday, October 7, 2019 @ 09:11:40
  Author: arodseth
Revision: 513692

archrelease: copy trunk to community-x86_64

Added:
  k9s/repos/community-x86_64/PKGBUILD
    (from rev 513691, k9s/trunk/PKGBUILD)

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

Copied: k9s/repos/community-x86_64/PKGBUILD (from rev 513691, k9s/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-07 09:11:40 UTC (rev 513692)
@@ -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