diff options
-rw-r--r-- | games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild index 9b8290d1d2f7..95613acea165 100644 --- a/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild +++ b/games-misc/fortune-mod-it/fortune-mod-it-1.99.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 + DESCRIPTION="Database of the Italian cookies for the fortune program" HOMEPAGE="http://www.fortune-it.net/" SRC_URI="http://www.fortune-it.net/download/fortune-it-${PVR}.tar.gz" +S="${WORKDIR}"/fortune-it-${PVR} LICENSE="freedist" SLOT="0" @@ -13,10 +15,12 @@ IUSE="offensive" DEPEND="games-misc/fortune-mod" -S=${WORKDIR}/fortune-it-${PVR} - src_prepare() { - use offensive || rm -f testi/*-o + default + + if ! use offensive ; then + rm -f testi/*-o || die + fi } src_compile() { |