Date: Wednesday, April 27, 2022 @ 16:46:42
  Author: jelle
Revision: 1191272

archrelease: copy trunk to community-x86_64

Added:
  stern/repos/community-x86_64/PKGBUILD
    (from rev 1191271, stern/trunk/PKGBUILD)
Deleted:
  stern/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-04-27 16:46:37 UTC (rev 1191271)
+++ PKGBUILD    2022-04-27 16:46:42 UTC (rev 1191272)
@@ -1,45 +0,0 @@
-# Maintainer: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
-
-pkgname=stern
-pkgdesc="Multi pod and container log tailing for Kubernetes"
-pkgver=1.21.0
-pkgrel=2
-arch=('x86_64')
-url="https://github.com/stern/stern";
-license=('apache')
-options=(!lto)
-depends=('glibc')
-makedepends=('go')
-source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('e1e0b73cbddd6dd7729444f2ef9aa787a64f7ba70e951c39012e9d5faef6834363049f02f03163d48e94908ef238394878178b5a6dbcc22fa6a8d349049c9467')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  go build \
-    -ldflags "-linkmode external -X 
\"github.com/stern/stern/cmd.version=${pkgver}\"" \
-    -o "./out/${pkgname}"
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-
-  go test -v ./...
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-
-  install -Dm 755 "./out/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
-
-  "${pkgdir}/usr/bin/${pkgname}" --completion=bash | install -Dm644 /dev/stdin 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  "${pkgdir}/usr/bin/${pkgname}" --completion=zsh | install -Dm644 /dev/stdin 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-
-  install -Dm 644 CONTRIBUTING.md README.md --target-directory 
"${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: stern/repos/community-x86_64/PKGBUILD (from rev 1191271, 
stern/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-04-27 16:46:42 UTC (rev 1191272)
@@ -0,0 +1,45 @@
+# Maintainer: Andreas 'Segaja' Schleifer <segaja at archlinux dot org>
+
+pkgname=stern
+pkgdesc="Multi pod and container log tailing for Kubernetes"
+pkgver=1.21.0
+pkgrel=3
+arch=('x86_64')
+url="https://github.com/stern/stern";
+license=('apache')
+options=(!lto)
+depends=('glibc')
+makedepends=('go')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('e1e0b73cbddd6dd7729444f2ef9aa787a64f7ba70e951c39012e9d5faef6834363049f02f03163d48e94908ef238394878178b5a6dbcc22fa6a8d349049c9467')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  go build \
+    -ldflags "-linkmode external -X 
\"github.com/stern/stern/cmd.version=${pkgver}\"" \
+    -o "./out/${pkgname}"
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  go test -v ./...
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  install -Dm 755 "./out/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
+  "${pkgdir}/usr/bin/${pkgname}" --completion=bash | install -Dm644 /dev/stdin 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  "${pkgdir}/usr/bin/${pkgname}" --completion=zsh | install -Dm644 /dev/stdin 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+
+  install -Dm 644 CONTRIBUTING.md README.md --target-directory 
"${pkgdir}/usr/share/doc/${pkgname}"
+}

Reply via email to