[arch-commits] Commit in (4 files)

Christian Rebischke shibumi at archlinux.org
Thu Oct 24 18:18:36 UTC 2019


    Date: Thursday, October 24, 2019 @ 18:18:35
  Author: shibumi
Revision: 518819

new package go-bindata-assetfs

this is a dependency for vault

Added:
  go-bindata-assetfs/
  go-bindata-assetfs/repos/
  go-bindata-assetfs/trunk/
  go-bindata-assetfs/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Added: go-bindata-assetfs/trunk/PKGBUILD
===================================================================
--- go-bindata-assetfs/trunk/PKGBUILD	                        (rev 0)
+++ go-bindata-assetfs/trunk/PKGBUILD	2019-10-24 18:18:35 UTC (rev 518819)
@@ -0,0 +1,29 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+
+pkgname=go-bindata-assetfs
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Serves embedded files from jteeuwen/go-bindata with net/http"
+arch=('x86_64')
+url="https://github.com/elazarl/go-bindata-assetfs"
+license=('BSD')
+depends=('glibc')
+makedepends=('go-pie')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/elazarl/go-bindata-assetfs/archive/v${pkgver}.tar.gz")
+sha512sums=('009111511b10b14e83b166eaf37c36e6fc96097770cd6b1865d034f4e90cc3232930b6f5591ee1a960af46d76a7456a96dcc2ccc112234cb0d382a9f9cc575c2')
+
+prepare() {
+    mkdir -p "${srcdir}/src/github.com/elazarl/"
+    mv "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/src/github.com/elazarl/go-bindata-assetfs"
+}
+
+build() {
+    cd "${srcdir}/src/github.com/elazarl/go-bindata-assetfs"
+    GOPATH="${srcdir}" go build -o go-bindata-assetfs-binary
+}
+
+package() {
+    cd "${srcdir}/src/github.com/elazarl/go-bindata-assetfs/"
+    install -Dm755 "go-bindata-assetfs-binary" "${pkgdir}/usr/bin/go-bindata-assetfs"
+    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list