Date: Sunday, August 22, 2021 @ 17:13:05 Author: shibumi Revision: 1004234
archrelease: copy trunk to community-x86_64 Added: fluxctl/repos/community-x86_64/PKGBUILD (from rev 1004233, fluxctl/trunk/PKGBUILD) Deleted: fluxctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-22 17:13:00 UTC (rev 1004233) +++ PKGBUILD 2021-08-22 17:13:05 UTC (rev 1004234) @@ -1,36 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> - -pkgname=fluxctl -_pkgname=flux -pkgver=1.23.2 -pkgrel=1 -pkgdesc="Controller for the GitOps Kubernetes operator flux" -arch=('x86_64') -url="https://github.com/fluxcd/flux" -license=('Apache') -makedepends=('go' 'git') -depends=('glibc') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux/archive/${pkgver}.tar.gz") -sha512sums=('2d92360aa4667cd0e76fb5e3e226352cf78e4a79de093eadd4c00c9b8d196740a7830cd074bb1cdbee9082d3b942942d5076dcb6b714df385fdfd204757e2d69') -b2sums=('9fb44e437ca63167c51343c623a05c815697f4c7e55d7eeb944639a37b2b4c08733d3e15467d5dbb0604dfb6b807d73f46fba12848fe4a586a8a9e830ffb79d6') - -build() { - cd "${_pkgname}-${pkgver}/cmd/fluxctl" - 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 -X main.version="${pkgver}" -linkmode=external" . - chmod +x ./fluxctl -} - -check() { - cd "${_pkgname}-${pkgver}/cmd/fluxctl" - go test ./... -} - -package() { - cd "${_pkgname}-${pkgver}/cmd/fluxctl" - install -Dsm755 ./fluxctl "${pkgdir}/usr/bin/fluxctl" -} Copied: fluxctl/repos/community-x86_64/PKGBUILD (from rev 1004233, fluxctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-22 17:13:05 UTC (rev 1004234) @@ -0,0 +1,36 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> + +pkgname=fluxctl +_pkgname=flux +pkgver=1.24.0 +pkgrel=1 +pkgdesc="Controller for the GitOps Kubernetes operator flux" +arch=('x86_64') +url="https://github.com/fluxcd/flux" +license=('Apache') +makedepends=('go' 'git') +depends=('glibc') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux/archive/${pkgver}.tar.gz") +sha512sums=('3fa23d87e040a59cd82c24a43c1443836b8a6b4454495bab1054d6ab1aac7410dc31fc84957dd9fe978563413dd99537abe5cec7afa5a77030f80f9f97ca089d') +b2sums=('f7507e5c8a70f474f460d4a1cfb9ee6b024be58bb956b21eb793f4aada9fb11ab92b4285c55127c5467449b76722d75be0dded5725c5a4c0173f73b783c315d8') + +build() { + cd "${_pkgname}-${pkgver}/cmd/fluxctl" + 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 -X main.version="${pkgver}" -linkmode=external" . + chmod +x ./fluxctl +} + +check() { + cd "${_pkgname}-${pkgver}/cmd/fluxctl" + go test ./... +} + +package() { + cd "${_pkgname}-${pkgver}/cmd/fluxctl" + install -Dsm755 ./fluxctl "${pkgdir}/usr/bin/fluxctl" +}