[arch-commits] Commit in operator-sdk/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sat Nov 20 01:08:51 UTC 2021
Date: Saturday, November 20, 2021 @ 01:08:51
Author: shibumi
Revision: 1052820
archrelease: copy trunk to community-x86_64
Added:
operator-sdk/repos/community-x86_64/PKGBUILD
(from rev 1052819, operator-sdk/trunk/PKGBUILD)
Deleted:
operator-sdk/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-20 01:08:45 UTC (rev 1052819)
+++ PKGBUILD 2021-11-20 01:08:51 UTC (rev 1052820)
@@ -1,44 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=operator-sdk
-pkgver=1.14.0
-pkgrel=1
-pkgdesc="SDK for building Kubernetes applications"
-arch=('x86_64')
-url="https://github.com/operator-framework/operator-sdk"
-license=('Apache')
-makedepends=('go')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz")
-sha512sums=('8e890571550691ebada5be11a0f28e740d9591ee03fdc4a11246eefe341fa60ccd5adb181e246aef9cee7abb1d5012cc5f11a6f8e3887b4bfadd2d037e24198a')
-b2sums=('50c83207e071779f9116fa56ec71bc999a92557d2084402e8722c2e714a70b1172174b338db5ebfea716c93e80f52255404f02d892b836335e43e421cddb5ffd')
-
-prepare() {
- export GOPATH="${srcdir}"
- mkdir -p src/github.com/operator-framework "${GOPATH}/bin"
- mv "${pkgname}-${pkgver}" "src/github.com/operator-framework/${pkgname}"
- export PACKAGE_ROOT="${GOPATH}/src/github.com/operator-framework/${pkgname}"
-}
-
-build() {
- cd "${PACKAGE_ROOT}"
- export CGO_ENABLED=1
- 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" -v -o . ./cmd/{operator-sdk,ansible-operator,helm-operator}
-}
-
-#check() {
-# cd "${PACKAGE_ROOT}"
-# go test -v ./...
-#}
-
-package() {
- 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"
-}
Copied: operator-sdk/repos/community-x86_64/PKGBUILD (from rev 1052819, operator-sdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-20 01:08:51 UTC (rev 1052820)
@@ -0,0 +1,44 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=operator-sdk
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="SDK for building Kubernetes applications"
+arch=('x86_64')
+url="https://github.com/operator-framework/operator-sdk"
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz")
+sha512sums=('43626938efa3c03eb6d798f4f6cc3deb59c8f7c62e60b88e63a2f7db98ce832889029898d9f007ee6560ae321c8f0e9a604ab08e09789c4e39492f222dcdf8f4')
+b2sums=('c72b554eaa7e163833be9b068f262a51302842d4eac3c99acbac83ec4565a6938ae4de3481bdddaf7e464425025f6605ff61db6dee985bdac40580a308e4dc2b')
+
+prepare() {
+ export GOPATH="${srcdir}"
+ mkdir -p src/github.com/operator-framework "${GOPATH}/bin"
+ mv "${pkgname}-${pkgver}" "src/github.com/operator-framework/${pkgname}"
+ export PACKAGE_ROOT="${GOPATH}/src/github.com/operator-framework/${pkgname}"
+}
+
+build() {
+ cd "${PACKAGE_ROOT}"
+ export CGO_ENABLED=1
+ 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" -v -o . ./cmd/{operator-sdk,ansible-operator,helm-operator}
+}
+
+#check() {
+# cd "${PACKAGE_ROOT}"
+# go test -v ./...
+#}
+
+package() {
+ 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