[arch-commits] Commit in ko/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun Oct 31 16:38:13 UTC 2021
Date: Sunday, October 31, 2021 @ 16:38:12
Author: shibumi
Revision: 1035082
archrelease: copy trunk to community-x86_64
Added:
ko/repos/community-x86_64/PKGBUILD
(from rev 1035081, ko/trunk/PKGBUILD)
Deleted:
ko/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-31 16:38:01 UTC (rev 1035081)
+++ PKGBUILD 2021-10-31 16:38:12 UTC (rev 1035082)
@@ -1,40 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=ko
-pkgver=0.9.1
-pkgrel=1
-pkgdesc="Build and deploy Go applications on Kubernetes"
-arch=('x86_64')
-url="https://github.com/google/ko"
-license=('Apache')
-makedepends=('go' 'git')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/ko/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('29fe489e68f625ad640796694b5dc05dcd92712c9d8effced221abbed17af4a8206a4740f26ea0abf3cf37586a0dbd18c3bd84c4c88ff81720dfc4f1911a8eab')
-b2sums=('ef2ada59476202a5212bcf7bdc350129d0c205d9179f2c5818764abb44ae485de35ec51964dd4832146658667809943001e8d1c0621010bdb540e5c1f99c1e60')
-
-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="-w -s -linkmode=external" .
- chmod +x ./ko
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- # currently disabled
- #go test -v -x ./...
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dsm755 ./ko "${pkgdir}/usr/bin/ko"
- mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
- mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
- ./ko completion > "${pkgdir}/usr/share/bash-completion/completions/ko"
- ./ko completion --zsh > "${pkgdir}/usr/share/zsh/site-functions/_ko"
-}
Copied: ko/repos/community-x86_64/PKGBUILD (from rev 1035081, ko/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-31 16:38:12 UTC (rev 1035082)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=ko
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="Build and deploy Go applications on Kubernetes"
+arch=('x86_64')
+url="https://github.com/google/ko"
+license=('Apache')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/google/ko/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('3ddf3f4641a75bc7e48496f58797ad8de0c773f57701b273dc62722517e86c3a394b8e1f37a99af10756419c16df53225e4240ef2ba2557288136124d7be41a5')
+b2sums=('287b2916be498411ef78746099a52b392270e2524f7ea676a15c689702bb55579df96ad1849de5381710f543774064c328e8f00f445d5088da230927ada4c6eb')
+
+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="-w -s -linkmode=external" .
+ chmod +x ./ko
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ # currently disabled
+ #go test -v -x ./...
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dsm755 ./ko "${pkgdir}/usr/bin/ko"
+ mkdir -p "${pkgdir}/usr/share/bash-completion/completions/"
+ mkdir -p "${pkgdir}/usr/share/zsh/site-functions/"
+ ./ko completion > "${pkgdir}/usr/share/bash-completion/completions/ko"
+ ./ko completion --zsh > "${pkgdir}/usr/share/zsh/site-functions/_ko"
+}
More information about the arch-commits
mailing list