[arch-commits] Commit in operator-sdk/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat May 29 23:45:53 UTC 2021
Date: Saturday, May 29, 2021 @ 23:45:53
Author: shibumi
Revision: 950296
archrelease: copy trunk to community-x86_64
Added:
operator-sdk/repos/community-x86_64/PKGBUILD
(from rev 950295, operator-sdk/trunk/PKGBUILD)
Deleted:
operator-sdk/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-29 23:44:50 UTC (rev 950295)
+++ PKGBUILD 2021-05-29 23:45:53 UTC (rev 950296)
@@ -1,43 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-
-pkgname=operator-sdk
-pkgver=1.5.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=('e16df8e6a9719ec14bb125e956f6ad019cb42b5d022b62af33a899b0fffb097b1038cba9d5ed5a0a0d726ff7e26b1011193e2238aa4dd07dcef8c57278dd277e')
-
-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 950295, operator-sdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-29 23:45:53 UTC (rev 950296)
@@ -0,0 +1,43 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=operator-sdk
+pkgver=1.8.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=('bdb364571078c3051df4175e463e6dae58385b9822a597519f4db307c775fb2dadebea84b80f02c7e9147397968f1b0be9515d965b218f4ded2407accd50f031')
+
+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