pentoo-overlay/dev-go/robotstxt-go/robotstxt-go-20170603.ebuild
2019-06-03 21:23:41 +08:00

22 lines
564 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN=github.com/temoto/${PN}
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
EGIT_COMMIT="97ee4a9ee6ea01ed0bbf0325dd789f74cac6cb94"
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="The robots.txt exclusion protocol implementation"
HOMEPAGE="https://github.com/temoto/robotstxt"
LICENSE="BSD"
SLOT="0"
IUSE=""