Date: Tuesday, April 5, 2022 @ 20:56:34 Author: shibumi Revision: 1181506
archrelease: copy trunk to community-x86_64 Added: eksctl/repos/community-x86_64/PKGBUILD (from rev 1181505, eksctl/trunk/PKGBUILD) Deleted: eksctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-05 20:56:26 UTC (rev 1181505) +++ PKGBUILD 2022-04-05 20:56:34 UTC (rev 1181506) @@ -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.82.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=('2d3e91ae4cf367de84fa449a7da534170e024601fce16529feaaa7b51f3d45fa') -b2sums=('254edaf31f99a39eae451124954bc33006f6fedf48bd9ad2ad0539cd03c3daa7b900d2e2194511b1ea5af3a24de8b4f1c2a91fdb3e56486df2a64003e632ae34') - -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 1181505, eksctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-05 20:56:34 UTC (rev 1181506) @@ -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.91.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=('472df88b19e6bd470fedd3a21205ef4da530700dda1d1e7e1a8f6bf8111e35bc') +b2sums=('5038337e9463d7ef73c18b7589c743214643f5e6c143990eadfbac8fedc67c2e1f0c8dcab58f4dd12fbdd542868b2498b9d88f517617184ac380c09d93e06f80') + +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: