[arch-commits] Commit in terragrunt/repos (community-x86_64 community-x86_64/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Sep 18 21:03:50 UTC 2020
Date: Friday, September 18, 2020 @ 21:03:50
Author: anthraxx
Revision: 710750
archrelease: copy trunk to community-x86_64
Added:
terragrunt/repos/community-x86_64/
terragrunt/repos/community-x86_64/PKGBUILD
(from rev 710749, terragrunt/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: terragrunt/repos/community-x86_64/PKGBUILD (from rev 710749, terragrunt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-09-18 21:03:50 UTC (rev 710750)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Benjamin Denhartog <ben at sudoforge.com>
+# Contributor: Andreas 'Segaja' Schleifer <archlinux at segaja dot de>
+
+pkgname=terragrunt
+pkgver=0.25.0
+pkgrel=1
+pkgdesc='Thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules'
+url='https://github.com/gruntwork-io/terragrunt'
+arch=('x86_64')
+makedepends=('git' 'go')
+depends=('glibc' 'terraform')
+license=('MIT')
+source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('cf5b57157618930e8662de8bf1c2ff44eee1a36773d3342aef85f63fad2725d3')
+b2sums=('89bff9e4b9f5f98765998357a49bee215c0c911b086054c8e207717e782939ecd5f461d158e4fa749cc581794cb8fe3b265bf4a6628772d1c1ff8a92f4b5ab66')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export GO11MODULE=on
+ 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 main.VERSION=${pkgver}" \
+ .
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm 755 ${pkgname} -t "${pkgdir}/usr/bin"
+ install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list