summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/funny-manpages/funny-manpages-2.3.ebuild')
-rw-r--r--games-misc/funny-manpages/funny-manpages-2.3.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/games-misc/funny-manpages/funny-manpages-2.3.ebuild b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
index d8bd6f0300d..a2effd00e0c 100644
--- a/games-misc/funny-manpages/funny-manpages-2.3.ebuild
+++ b/games-misc/funny-manpages/funny-manpages-2.3.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
MY_R="${PV:0-1}"
MY_P="${PN}_${PV/_p?/}"
@@ -9,21 +9,20 @@ DESCRIPTION="funny manpages collected from various sources"
HOMEPAGE="https://www.debian.org/"
SRC_URI="mirror://debian/pool/main/f/funny-manpages/${MY_P}.orig.tar.gz"
-if [[ "${PV}" = *_p* ]] ; then
+if [[ "${PV}" == *_p* ]] ; then
SRC_URI+=" mirror://debian/pool/main/f/funny-manpages/${MY_P}-${MY_R}.diff.gz"
fi
+S="${WORKDIR}/${PN}/man"
+
LICENSE="freedist" #465704
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~mips ~ppc64 ~s390 ~x86"
-IUSE=""
RDEPEND="virtual/man"
-S="${WORKDIR}/${PN}/man"
-
src_prepare() {
- if [[ "${PV}" = *_p* ]] ; then
+ if [[ "${PV}" == *_p* ]] ; then
eapply "${WORKDIR}"/${MY_P}-${MY_R}.diff
fi