app-editors/xxd: add, since I don't want all of vim
[netsurf-overlay.git] / app-editors / xxd / xxd-8.1.1306.ebuild
blob72dc46229d654e5576da69c49d2fb79d4a54f465
1 # Copyright 1999-2019 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 DESCRIPTION="xxd, ripped from vim-core"
7 HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim"
8 SRC_URI=""
10 LICENSE="vim"
11 SLOT="0"
12 KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
14 RDEPEND="!app-editors/vim-core"
16 src_unpack() {
17 mkdir -p "${P}"
18 cp "${FILESDIR}/Makefile" "${P}/Makefile"
19 cp "${FILESDIR}/xxd.c" "${P}/xxd.c"
22 src_install() {
23 dobin xxd