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

Morten Linderud foxboron at archlinux.org
Sat Mar 7 13:22:03 UTC 2020


    Date: Saturday, March 7, 2020 @ 13:22:02
  Author: foxboron
Revision: 591115

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 13:21:53 UTC (rev 591114)
+++ PKGBUILD	2020-03-07 13:22:02 UTC (rev 591115)
@@ -1,29 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-
-pkgname=k9s
-pkgver=0.17.4
-pkgrel=1
-pkgdesc='Kubernetes TUI for managing clusters and pods'
-arch=(x86_64)
-url='https://github.com/derailed/k9s'
-license=(APACHE)
-makedepends=(git go-pie)
-source=("git+$url#commit=413605a3e7eb0f9a38029b657d3aa0b6315bba35") # 0.17.4
-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"
-}
-
-# getver: github.com/derailed/k9s/releases
-# vim: ts=2 sw=2 et:

Copied: k9s/repos/community-x86_64/PKGBUILD (from rev 591114, k9s/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-07 13:22:02 UTC (rev 591115)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=k9s
+pkgver=0.17.5
+pkgrel=1
+pkgdesc='Kubernetes TUI for managing clusters and pods'
+arch=(x86_64)
+url='https://github.com/derailed/k9s'
+license=(APACHE)
+makedepends=(git go-pie)
+_commit=bd70982b50eb795e04f1b3946a79ab5c9916f1ea # 0.17.5
+source=("git+$url#commit=$_commig")
+sha256sums=('SKIP')
+
+build() {
+  cd $pkgname
+  export GOFLAGS="-trimpath"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  make build
+}
+
+check() {
+  cd $pkgname
+  make test
+}
+
+package() {
+  cd $pkgname
+  install -Dm755 "execs/$pkgname" "$pkgdir/usr/bin/$pkgname"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# getver: github.com/derailed/k9s/releases
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list