Date: Saturday, June 19, 2021 @ 00:14:07 Author: anthraxx Revision: 965217
archrelease: copy trunk to community-x86_64 Added: eksctl/repos/community-x86_64/PKGBUILD (from rev 965216, eksctl/trunk/PKGBUILD) Deleted: eksctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-19 00:14:04 UTC (rev 965216) +++ PKGBUILD 2021-06-19 00:14:07 UTC (rev 965217) @@ -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.52.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=('786e1668d96c69e3d330202a162a09fe7d2a2a4ca4ef999d5ec760f5000cb5e6') -b2sums=('7425d027b9212bb4e5aa81978270e50551567c056d395c656a60d34fa6c6c420a0662c846bfd679a79bf01540703ce99a10df63456530d4c0ed33db8a57262f7') - -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 965216, eksctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-19 00:14:07 UTC (rev 965217) @@ -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.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: