[arch-commits] Commit in go-bindata-hashicorp/repos/community-x86_64 (2 files)
Morten Linderud
foxboron at archlinux.org
Sun Jul 5 15:22:52 UTC 2020
Date: Sunday, July 5, 2020 @ 15:22:52
Author: foxboron
Revision: 657864
archrelease: copy trunk to community-x86_64
Added:
go-bindata-hashicorp/repos/community-x86_64/PKGBUILD
(from rev 657863, go-bindata-hashicorp/trunk/PKGBUILD)
Deleted:
go-bindata-hashicorp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 75 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-05 15:22:41 UTC (rev 657863)
+++ PKGBUILD 2020-07-05 15:22:52 UTC (rev 657864)
@@ -1,35 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
-
-pkgname=go-bindata-hashicorp
-_pkgname=go-bindata
-_commit=bf7910af899725e4938903fb32048c7c0b15f12e
-pkgver=3.0.7+bf7910af
-pkgrel=2
-pkgdesc="A small utility which generates Go code from any file (Hashicorp version)"
-arch=('x86_64')
-url='https://github.com/hashicorp/go-bindata'
-license=('CC0 1.0')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit}")
-sha512sums=('SKIP')
-provides=('go-bindata')
-conflicts=('go-bindata')
-
-prepare() {
- mkdir -p "${srcdir}/src/github.com/hashicorp/"
- mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
-}
-
-build() {
- cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
- GOPATH="${srcdir}" go build
-}
-
-package() {
- cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
- install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
- install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
-}
Copied: go-bindata-hashicorp/repos/community-x86_64/PKGBUILD (from rev 657863, go-bindata-hashicorp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-05 15:22:52 UTC (rev 657864)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>
+
+pkgname=go-bindata-hashicorp
+_pkgname=go-bindata
+_commit=bf7910af899725e4938903fb32048c7c0b15f12e
+pkgver=3.0.7+bf7910af
+pkgrel=3
+pkgdesc="A small utility which generates Go code from any file (Hashicorp version)"
+arch=('x86_64')
+url='https://github.com/hashicorp/go-bindata'
+license=('CC0 1.0')
+depends=('glibc')
+makedepends=('go' 'git')
+source=("git+https://github.com/hashicorp/go-bindata#commit=${_commit}")
+sha512sums=('SKIP')
+provides=('go-bindata')
+conflicts=('go-bindata')
+
+prepare() {
+ mkdir -p "${srcdir}/src/github.com/hashicorp/"
+ mv "${srcdir}/${_pkgname}" "${srcdir}/src/github.com/hashicorp/go-bindata"
+}
+
+build() {
+ cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ GOPATH="${srcdir}" go build
+}
+
+package() {
+ cd "${srcdir}/src/github.com/hashicorp/go-bindata/go-bindata"
+ install -Dm755 "go-bindata" "${pkgdir}/usr/bin/go-bindata"
+ install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list