Date: Sunday, May 9, 2021 @ 09:49:48 Author: anthraxx Revision: 928999
archrelease: copy trunk to community-x86_64 Added: eksctl/repos/community-x86_64/PKGBUILD (from rev 928998, eksctl/trunk/PKGBUILD) Deleted: eksctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-09 09:49:40 UTC (rev 928998) +++ PKGBUILD 2021-05-09 09:49:48 UTC (rev 928999) @@ -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.46.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=('b5cf809c49b03b05241f622d3c35228add910ff9ca4391595c9063b64e778bb0') -b2sums=('531a9de7fc3a232ad9416843525c4a5af01231f0a9595b0ddf6cf277816519c52343dc9808b2f758d0733f884ab8a3a6727037ae77c9fdb59986feebff72279f') - -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 928998, eksctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-09 09:49:48 UTC (rev 928999) @@ -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.48.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=('655e6b43324d62385d934375fd8456f005ee5124cb84d7efcc177dc49168b489') +b2sums=('df313e60c942f4c453a8f46e36b8456a4efcd9aab8b31d04559f691ef57569f6e936bd874bfef1ad8c6f3c5701951f6c9c164ad200d6554e881eef49a591f87d') + +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: