summaryrefslogtreecommitdiff
path: root/dev-util/xxdi/xxdi-1.0.0.ebuild
blob: 2b402a4eb1f1d18ea92267d9aa3db5430dfbbd45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

MODULE_VERSION=001

DESCRIPTION="Simple alternative to vim's 'xxd -i' mode"
HOMEPAGE="https://github.com/gregkh/xxdi"
SRC_URI="https://github.com/gregkh/xxdi/archive/v${MODULE_VERSION}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${MODULE_VERSION}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 ppc ppc64 ~riscv x86"

RDEPEND="dev-lang/perl
	dev-perl/File-Slurp"

src_install() {
	dobin xxdi.pl
	dodoc README.md
}