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

Morten Linderud foxboron at archlinux.org
Sat Apr 25 10:39:06 UTC 2020


    Date: Saturday, April 25, 2020 @ 10:39:05
  Author: foxboron
Revision: 620626

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 10:38:57 UTC (rev 620625)
+++ PKGBUILD	2020-04-25 10:39:05 UTC (rev 620626)
@@ -1,35 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=k9s
-pkgver=0.19.2
-pkgrel=1
-pkgdesc='TUI for managing Kubernetes clusters and pods'
-arch=(x86_64)
-url='https://github.com/derailed/k9s'
-license=(APACHE)
-makedepends=(git go)
-_commit=e231f18a79c6fb40a173135704564af3cf23caa0 # 0.19.2
-source=("git+$url#commit=$_commit")
-sha256sums=('SKIP')
-
-build() {
-  cd $pkgname
-  export GOFLAGS='-buildmode=pie -trimpath'
-  export CGO_LDFLAGS="$LDFLAGS"
-  export CGO_CFLAGS="$CFLAGS"
-  make VERSION=v$pkgver build
-}
-
-check() {
-  make -C $pkgname 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:

Copied: k9s/repos/community-x86_64/PKGBUILD (from rev 620625, k9s/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-25 10:39:05 UTC (rev 620626)
@@ -0,0 +1,40 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=k9s
+pkgver=0.19.3
+pkgrel=1
+pkgdesc='TUI for managing Kubernetes clusters and pods'
+arch=(x86_64)
+url='https://github.com/derailed/k9s'
+license=(APACHE)
+makedepends=(git go)
+_commit=486a2afb40cea8aab1fb1270512dfee172137d49 # 0.19.3
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+  cd $pkgname
+  export GOFLAGS='-buildmode=pie -trimpath'
+  export CGO_LDFLAGS="$LDFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  make VERSION=v$pkgver build
+}
+
+check() {
+  make -C $pkgname 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