[arch-commits] Commit in go-bindata-assetfs/repos (2 files)
Christian Rebischke
shibumi at archlinux.org
Thu Oct 24 18:20:55 UTC 2019
Date: Thursday, October 24, 2019 @ 18:20:55
Author: shibumi
Revision: 518820
archrelease: copy trunk to community-x86_64
Added:
go-bindata-assetfs/repos/community-x86_64/
go-bindata-assetfs/repos/community-x86_64/PKGBUILD
(from rev 518819, go-bindata-assetfs/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: go-bindata-assetfs/repos/community-x86_64/PKGBUILD (from rev 518819, go-bindata-assetfs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-10-24 18:20:55 UTC (rev 518820)
@@ -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