Date: Tuesday, March 24, 2020 @ 10:02:53 Author: arodseth Revision: 603797
archrelease: copy trunk to community-x86_64 Added: k9s/repos/community-x86_64/PKGBUILD (from rev 603796, k9s/trunk/PKGBUILD) Deleted: k9s/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 33 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-24 10:02:47 UTC (rev 603796) +++ PKGBUILD 2020-03-24 10:02:53 UTC (rev 603797) @@ -1,35 +0,0 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=k9s -pkgver=0.17.7 -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=2e05367256a7b2777b011da7213cf636c9ae4d17 # 0.17.7 -source=("git+$url#commit=$_commig") -sha256sums=('SKIP') - -build() { - cd $pkgname - export GOFLAGS="-buildmode=pie -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: Copied: k9s/repos/community-x86_64/PKGBUILD (from rev 603796, k9s/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-24 10:02:53 UTC (rev 603797) @@ -0,0 +1,33 @@ +# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@archlinux.org> + +pkgname=k9s +pkgver=0.18.0 +pkgrel=1 +pkgdesc='TUI for managing Kubernetes clusters and pods' +arch=(x86_64) +url='https://github.com/derailed/k9s' +license=(APACHE) +makedepends=(git go-pie) +source=("git+$url#commit=df43153110c11560eb75c7296bac5b7ac3c9a633") # 0.18.0 +sha256sums=('SKIP') + +build() { + cd $pkgname + export GOFLAGS='-buildmode=pie -trimpath' + export CGO_LDFLAGS="$LDFLAGS" + make 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: