[arch-commits] Commit in ko/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Wed Sep 22 20:50:30 UTC 2021
Date: Wednesday, September 22, 2021 @ 20:50:30
Author: shibumi
Revision: 1021680
archrelease: copy trunk to community-x86_64
Added:
ko/repos/community-x86_64/PKGBUILD
(from rev 1021679, ko/trunk/PKGBUILD)
Deleted:
ko/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-22 20:50:24 UTC (rev 1021679)
+++ PKGBUILD 2021-09-22 20:50:30 UTC (rev 1021680)
@@ -1,40 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=ko
-pkgver=0.8.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=('31bb2657d1dd78686be24748cf884f9c1ff0259df9e2e0683a95fce3426aa24c075380d1fc0505ff6e7f67ad949cc4f82df3b6649a1b411ca0dea6023b26d5f9')
-b2sums=('ca4fd205bd790412fe3b4647ad7aeea445d23e0131986c1e3a272f4265b9743dc07133d9b741113c4cdf0794e6bc5c4f4afc3be9fde1320229386ac1bce32f50')
-
-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 1021679, ko/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-22 20:50:30 UTC (rev 1021680)
@@ -0,0 +1,40 @@
+# 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"
+}
More information about the arch-commits
mailing list