dev-go/go-bindata-assetfs: new package
This commit is contained in:
parent
a9f4b1bb02
commit
1dc5dd718e
3 changed files with 34 additions and 0 deletions
23
dev-go/go-bindata-assetfs/go-bindata-assetfs-1.0.0.ebuild
Normal file
23
dev-go/go-bindata-assetfs/go-bindata-assetfs-1.0.0.ebuild
Normal 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/*
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue