summaryrefslogtreecommitdiff
blob: e7c85a0e3012511aacad583a5b49642719e99d61 (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 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
inherit verify-sig

DESCRIPTION="This is a variant of the flex fast lexical scanner"
HOMEPAGE="https://invisible-island.net/reflex/"
SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz"
SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )"

LICENSE="FLEX"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~sparc ~x86"

BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"

src_install() {
	default

	# Workaround assumption of gzip compressed manpage
	# Reported upstream via email
	rm "${ED}"/usr/share/man/man1/reflex++.1.gz || die
	dosym reflex.1 /usr/share/man/man1/reflex++.1 || die
}