mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
dev-util/tinyxxd: new package, add 1.3.7, 9999
Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
22
dev-util/tinyxxd/tinyxxd-9999.ebuild
Normal file
22
dev-util/tinyxxd/tinyxxd-9999.ebuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Drop-in replacement and standalone version of xxd"
|
||||
HOMEPAGE="https://github.com/xyproto/tinyxxd"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
|
||||
else
|
||||
SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_install(){
|
||||
default
|
||||
dosym "$(which tinyxxd)" /usr/bin/xxd
|
||||
}
|
||||
Reference in New Issue
Block a user