Date: Saturday, July 31, 2021 @ 18:02:32 Author: shibumi Revision: 991220
archrelease: copy trunk to community-x86_64 Added: eksctl/repos/community-x86_64/PKGBUILD (from rev 991219, eksctl/trunk/PKGBUILD) Deleted: eksctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-31 18:02:26 UTC (rev 991219) +++ PKGBUILD 2021-07-31 18:02:32 UTC (rev 991220) @@ -1,42 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: David Birks <da...@birks.dev> -# Contributor: Mike Williamson <mike at korora dot ca> - -pkgname=eksctl -pkgver=0.54.0 -pkgrel=1 -pkgdesc='Command line tool for creating clusters on Amazon EKS' -url='https://github.com/weaveworks/eksctl' -arch=('x86_64') -license=('Apache') -depends=('kubectl' 'glibc') -makedepends=('go') -source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('dee1ec5237aa628cb9dec775b354c505d1d7d680f2517ff9dd231409be558629') -b2sums=('d06b761df2e21a259c4aa2186ba1fb782976c2722e6df3841fc6fa388782f24b70ccde683e98dc9204ed409328a2a897d356c5bb7c4ac7bc5a1ab0b536304cdb') - -build() { - cd ${pkgname}-${pkgver} - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" - go build -v \ - -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X github.com/weaveworks/eksctl/pkg/version.gitTag=${pkgver}" \ - ./cmd/eksctl -} - -package() { - cd ${pkgname}-${pkgver} - install -Dm 755 ${pkgname} -t "$pkgdir/usr/bin" - - install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" - - # completions - "${pkgdir}/usr/bin/${pkgname}" completion bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - "${pkgdir}/usr/bin/${pkgname}" completion zsh | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" - "${pkgdir}/usr/bin/${pkgname}" completion fish | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/fish/completions/${pkgname}.fish" -} - -# vim: ts=2 sw=2 et: Copied: eksctl/repos/community-x86_64/PKGBUILD (from rev 991219, eksctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-31 18:02:32 UTC (rev 991220) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: David Birks <da...@birks.dev> +# Contributor: Mike Williamson <mike at korora dot ca> + +pkgname=eksctl +pkgver=0.59.0 +pkgrel=1 +pkgdesc='Command line tool for creating clusters on Amazon EKS' +url='https://github.com/weaveworks/eksctl' +arch=('x86_64') +license=('Apache') +depends=('kubectl' 'glibc') +makedepends=('go') +source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('ea8c1d41d7b495266121e346fe0f0e7981cafe019a1d9efbc468d41d68269492') +b2sums=('c999edd12af9aa3d7e7897e48fbe10015c715823554409dbdacdd6bf7e5534c5a15b1329357528d0ed12117f6f3db9a44673043d3f05af43f184f246c5f35645') + +build() { + cd ${pkgname}-${pkgver} + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -ldflags=-linkmode=external -trimpath -mod=readonly -modcacherw" + go build -v \ + -ldflags "-linkmode=external -extldflags '${LDFLAGS}' -X github.com/weaveworks/eksctl/pkg/version.gitTag=${pkgver}" \ + ./cmd/eksctl +} + +package() { + cd ${pkgname}-${pkgver} + install -Dm 755 ${pkgname} -t "$pkgdir/usr/bin" + + install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + + # completions + "${pkgdir}/usr/bin/${pkgname}" completion bash | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + "${pkgdir}/usr/bin/${pkgname}" completion zsh | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + "${pkgdir}/usr/bin/${pkgname}" completion fish | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/fish/completions/${pkgname}.fish" +} + +# vim: ts=2 sw=2 et: