mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user