pentoo-overlay/dev-go/gopkg-sourcemap/gopkg-sourcemap-2.1.3.ebuild
2020-06-18 12:59:25 +02:00

27 lines
575 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGO_PN="github.com/go-sourcemap/sourcemap"
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
KEYWORDS=""
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="Source maps consumer for Golang"
HOMEPAGE="https://godoc.org/github.com/go-sourcemap/sourcemap"
LICENSE="BSD-2"
SLOT="0"
IUSE=""
RDEPEND=">=dev-lang/go-1.10"
DEPEND="${RDEPEND}"