dev-util/tinyxxd: fix KEYWORDS, symlinking, package collisions

KEYWORDS are now right below SRC_URI inside the else statement, for
both, live ebuild and versioned ebuild (effectively avoiding to diverge
the live ebuild from the versioned ebuild)

`dosym "$(which tinyxxd)" /usr/bin/xxd` required tinyxxd to be installed
which was an oversight on my part, it should be now fixed because i used
/usr/bin/tinyxxd

also added dev-util/xxd as a blocker to avoid file collisions

Signed-off-by: ingenarel <ingenarelitems@gmail.com>
This commit is contained in:
ingenarel
2025-07-23 03:59:47 +06:00
parent 451623c534
commit 883cd42a30
2 changed files with 8 additions and 2 deletions

View File

@@ -10,12 +10,15 @@ if [[ ${PV} == *9999* ]]; then
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"
KEYWORDS="~amd64"
fi
RDEPEND="!dev-util/xxd"
LICENSE="GPL-2"
SLOT="0"
src_install(){
default
dosym "$(which tinyxxd)" /usr/bin/xxd
dosym /usr/bin/tinyxxd /usr/bin/xxd
}

View File

@@ -10,12 +10,15 @@ if [[ ${PV} == *9999* ]]; then
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"
KEYWORDS="~amd64"
fi
RDEPEND="!dev-util/xxd"
LICENSE="GPL-2"
SLOT="0"
src_install(){
default
dosym "$(which tinyxxd)" /usr/bin/xxd
dosym /usr/bin/tinyxxd /usr/bin/xxd
}