mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 23:52:59 -04:00
dev-util/xxd: treeclean, promoted to ::gentoo
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST xxd-9.1.0895.1 11406 BLAKE2B fab03736e2b20ae290221a8372fd9126de5e880034eb2e7fa5c1372faccbea056b97f068b46871c73db48fa23c1357eca2b5347faa70b5152fe85f503dd0c374 SHA512 2684da607150bd9790ba1e4a8b85690a75c30959d55577be946ec963820644b230b0d56e49883c823678e8fbd7ad3e1e3fff1da60fb35a41af0bfcf8f0f4b062
|
||||
DIST xxd-9.1.0895.c 33819 BLAKE2B d8adc2a0100a5403638f2522ee79c24ca3e29063dbc6a940fcc1f6fe30e5046224b4eea4a6cb063b367fc0dc96f1de7d272142a5aadb426336f72be4a5a995f5 SHA512 4b31b035e18408f122f85bc805c99c051fe0644b888f3df4af20d94ef1485ec0f44abcbdbaa34f7d002613a79f64b2f534e1dcbe92dcad4acae0ef1b114e3b33
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>new maintainers welcome</description>
|
||||
<name>Peter Levine</name>
|
||||
<email>plevine457@gmail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Bram Moolenaar</name>
|
||||
<email>Bram@vim.org</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/vim/vim/issues</bugs-to>
|
||||
<remote-id type="github">vim/vim</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Hexdump utility from vim"
|
||||
HOMEPAGE="https://www.vim.org/"
|
||||
SRC_URI="
|
||||
https://raw.githubusercontent.com/vim/vim/v${PV}/src/xxd/xxd.c
|
||||
-> ${P}.c
|
||||
https://raw.githubusercontent.com/vim/vim/v${PV}/runtime/doc/xxd.1
|
||||
-> ${P}.1
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# Attribution in xxd.c differs from vim.
|
||||
LICENSE="GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="!app-editors/vim-core"
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${P}.c xxd.c || die "cp failed"
|
||||
cp "${DISTDIR}"/${P}.1 xxd.1 || die "cp failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Basically, what's in src/xxd/Makefile
|
||||
"$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -DUNIX \
|
||||
-o xxd "${DISTDIR}"/${P}.c || die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin xxd
|
||||
doman xxd.1
|
||||
}
|
||||
Reference in New Issue
Block a user