[arch-commits] Commit in (4 files)
Christian Rebischke
shibumi at archlinux.org
Mon Jan 13 21:41:43 UTC 2020
Date: Monday, January 13, 2020 @ 21:41:43
Author: shibumi
Revision: 552444
push go-bindata-hashicorp to community
Added:
go-bindata-hashicorp/
go-bindata-hashicorp/repos/
go-bindata-hashicorp/trunk/
go-bindata-hashicorp/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: go-bindata-hashicorp/trunk/PKGBUILD
===================================================================
--- go-bindata-hashicorp/trunk/PKGBUILD (rev 0)
+++ go-bindata-hashicorp/trunk/PKGBUILD 2020-01-13 21:41:43 UTC (rev 552444)
@@ -0,0 +1,35 @@
+# 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=1
+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"
+}
More information about the arch-commits
mailing list