[arch-commits] Commit in k9s/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Dec 25 11:08:48 UTC 2021
Date: Saturday, December 25, 2021 @ 11:08:48
Author: shibumi
Revision: 1083561
archrelease: copy trunk to community-x86_64
Added:
k9s/repos/community-x86_64/PKGBUILD
(from rev 1083560, k9s/trunk/PKGBUILD)
Deleted:
k9s/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-25 11:08:42 UTC (rev 1083560)
+++ PKGBUILD 2021-12-25 11:08:48 UTC (rev 1083561)
@@ -1,46 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=k9s
-pkgver=0.25.15
-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=df613ec88d2d77d5b6e8804ceca959a544218391 #refs/tags/v0.25.12^{}
-source=("git+$url#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-build() {
- cd $pkgname
- export GOPROXY="direct"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- make VERSION=$pkgver build
-}
-
-check() {
- make -C $pkgname test
-}
-
-package() {
- cd $pkgname
- execs/k9s completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/k9s"
- execs/k9s completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_k9s"
- execs/k9s completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/k9s.fish"
- 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 1083560, k9s/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-25 11:08:48 UTC (rev 1083561)
@@ -0,0 +1,45 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=k9s
+pkgver=0.25.16
+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=fc8ffe5d37d068f14e86aed7e8b847d016c99b19 #refs/tags/v0.25.12^{}
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgname
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS//lto/no-lto}" # Disable LTO, because of linking issues
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS//lto/no-lto}" # Disable LTO, because of linking issues
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ make VERSION=$pkgver build
+}
+
+check() {
+ make -C $pkgname test
+}
+
+package() {
+ cd $pkgname
+ execs/k9s completion bash | install -Dm644 /dev/stdin "$pkgdir/usr/share/bash-completion/completions/k9s"
+ execs/k9s completion zsh | install -Dm644 /dev/stdin "$pkgdir/usr/share/zsh/site-functions/_k9s"
+ execs/k9s completion fish | install -Dm644 /dev/stdin "$pkgdir/usr/share/fish/vendor_completions.d/k9s.fish"
+ 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