dev-go/go-bindata-assetfs: new package

This commit is contained in:
nemunaire 2019-09-01 17:57:50 +02:00
commit 1dc5dd718e
3 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit golang-build golang-vcs-snapshot
EGO_PN="github.com/elazarl/go-bindata-assetfs/..."
ARCHIVE_URI="https://${EGO_PN%/*}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Serve embedded files from jteeuwen/go-bindata with net/http"
HOMEPAGE="https://github.com/elazarl/go-bindata-assetfs"
SRC_URI="${ARCHIVE_URI}"
LICENSE="BSD"
SLOT="0/${PVR}"
IUSE=""
RDEPEND="dev-go/go-bindata"
src_install() {
golang-build_src_install
dobin bin/*
}