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

29 lines
547 B
Bash
Raw Normal View History

2018-04-23 11:42:41 +02:00
# Copyright 1999-2018 Gentoo Foundation
# 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"
LICENSE="GPL"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
insinto /usr/bin/
doins ${S}/asdig || die "Install failed!"
dodoc README.md
}
pkg_preinst() {
chmod a+x ${D}/usr/bin/asdig || die "chmod failed"
}