SwordArMor-gentoo-overlay/net-dns/asdig/asdig-9999.ebuild

29 lines
545 B
Bash
Raw Permalink Normal View History

2020-02-19 20:00:53 +01:00
# Copyright 2020 Gentoo Authors
2018-04-23 11:42:41 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit git-r3
DESCRIPTION="Simple client for retrieving AS from IP published via DNS"
HOMEPAGE="https://github.com/Rezopole/asdig"
EGIT_REPO_URI="https://github.com/Rezopole/asdig.git"
2020-02-19 20:00:53 +01:00
LICENSE="GPL-2"
2018-04-23 11:42:41 +02:00
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
insinto /usr/bin/
2020-02-19 20:00:53 +01:00
doins "${S}"/asdig || die "Install failed!"
2018-04-23 11:42:41 +02:00
dodoc README.md
}
pkg_preinst() {
2020-02-19 20:00:53 +01:00
chmod a+x "${D}"/usr/bin/asdig || die "chmod failed"
2018-04-23 11:42:41 +02:00
}