[arch-commits] Commit in operator-sdk/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Thu Nov 12 20:13:56 UTC 2020


    Date: Thursday, November 12, 2020 @ 20:13:56
  Author: shibumi
Revision: 753701

upgpkg: operator-sdk 1.2.0-2

Modified:
  operator-sdk/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 20:11:48 UTC (rev 753700)
+++ PKGBUILD	2020-11-12 20:13:56 UTC (rev 753701)
@@ -2,7 +2,7 @@
 
 pkgname=operator-sdk
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="SDK for building Kubernetes applications"
 arch=('x86_64')
 url="https://github.com/operator-framework/operator-sdk"
@@ -10,7 +10,7 @@
 makedepends=('go')
 depends=('glibc')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz")
-sha512sums=('eed8e0eb70a78b78fd14802857d46cdb7ccc35e645f613c0af8702c76b4659adc47878ce45dfba0d051fcf3a3eacbb54769ea4dc06d0d83c7cf3f9a0b9d3fc73')
+sha512sums=('e61a3f68ccbf71f4125cf9559f5c92153b13f0acd81d36b6ddea38a69d6933ff16d650010cf9cc1f3faa09b00a937eb8144138b3703b7fa047811d058f51c693')
 
 prepare() {
   export GOPATH="${srcdir}"
@@ -28,16 +28,16 @@
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
   export GOLDFLAGS="-linkmode=external"
-  go build -v ./cmd/{operator-sdk,ansible-operator,helm-operator}
+  go build -v -o . ./cmd/{operator-sdk,ansible-operator,helm-operator}
 }
 
-check() {
-  cd "${PACKAGE_ROOT}"
-  go test -v ./...
-}
+#check() {
+#  cd "${PACKAGE_ROOT}"
+#  go test -v ./...
+#}
 
 package() {
-  cd "${PACKAGE_ROOT}/cmd/"
+  cd "${PACKAGE_ROOT}"
   install -Dsm755 ./operator-sdk "${pkgdir}/usr/bin/operator-sdk"
   install -Dsm755 ./ansible-operator "${pkgdir}/usr/bin/ansible-operator"
   install -Dsm755 ./helm-operator "${pkgdir}/usr/bin/helm-operator"



More information about the arch-commits mailing list