summaryrefslogtreecommitdiff
blob: 4877bc384b3b89466cc1d721f4f91cf4ac38b30d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="A minimalistic console hex editor with vim-like controls"
HOMEPAGE="https://yx7.cc/code/"
SRC_URI="https://yx7.cc/code/hyx/${P}.tar.xz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 x86"

PATCHES=(
	# Avoid complaining about not respecting LDFLAGS
	"${FILESDIR}/${PN}-ldflags.patch"
)

src_compile() {
	CC=$(tc-getCC) emake
}

src_install() {
	dobin hyx
}