[arch-commits] Commit in eksctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Wed Apr 27 14:46:12 UTC 2022
Date: Wednesday, April 27, 2022 @ 14:46:12
Author: jelle
Revision: 1191168
archrelease: copy trunk to community-x86_64
Added:
eksctl/repos/community-x86_64/PKGBUILD
(from rev 1191167, eksctl/trunk/PKGBUILD)
Deleted:
eksctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-27 14:46:06 UTC (rev 1191167)
+++ PKGBUILD 2022-04-27 14:46:12 UTC (rev 1191168)
@@ -1,42 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: David Birks <david at 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:
Copied: eksctl/repos/community-x86_64/PKGBUILD (from rev 1191167, eksctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-27 14:46:12 UTC (rev 1191168)
@@ -0,0 +1,42 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: David Birks <david at birks.dev>
+# Contributor: Mike Williamson <mike at korora dot ca>
+
+pkgname=eksctl
+pkgver=0.91.0
+pkgrel=2
+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:
More information about the arch-commits
mailing list