summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-02-03 17:02:47 +0100
committerUlrich Müller <ulm@gentoo.org>2020-02-03 17:03:50 +0100
commitd810129a82863350a1f529ae82426f0b8d5ee73e (patch)
treebc44ae0ed71e124f3472de3a9ea650b3c4286933 /games-misc/fortune-mod-flashrider
parentnet-libs/gnutls: Removed old (diff)
downloadgentoo-d810129a82863350a1f529ae82426f0b8d5ee73e.tar.gz
gentoo-d810129a82863350a1f529ae82426f0b8d5ee73e.tar.bz2
gentoo-d810129a82863350a1f529ae82426f0b8d5ee73e.zip
games-misc/fortune-mod-flashrider: Fix HOMEPAGE, SRC_URI, LICENSE.
Update for EAPI 7. Closes: https://bugs.gentoo.org/703720 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'games-misc/fortune-mod-flashrider')
-rw-r--r--games-misc/fortune-mod-flashrider/Manifest2
-rw-r--r--games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10-r1.ebuild (renamed from games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild)20
2 files changed, 10 insertions, 12 deletions
diff --git a/games-misc/fortune-mod-flashrider/Manifest b/games-misc/fortune-mod-flashrider/Manifest
index 7ec12b27d20a..e9fd3a7e9f06 100644
--- a/games-misc/fortune-mod-flashrider/Manifest
+++ b/games-misc/fortune-mod-flashrider/Manifest
@@ -1 +1 @@
-DIST fortunes-flashrider_1.10.tar.bz2 126771 BLAKE2B 1dda83d5dc30d1a99c9602acaf51b04d34c41ef875e0974e1624ecfe7ad63f0e8ea4ed6853b1f5f78669274a55da91088e6c2a925cc0c1589ef79185cf3f1269 SHA512 3fdf4f19d474cd5560ec234a290a9d6a3108148a8125b93817c4e0513f884a95449588f27775cb7ba321521d19d540bd459d1bd14648206216f9beac5fe6764e
+DIST fortunes-flashrider-1.10.tar.gz 152743 BLAKE2B d70354f25bf8b3072c85f9f2a6271d1a6da8678679e2f1a547d512f023bd4431fa0f87165e58de8b224413ce436f51f25fd580be25775a257f7c7f2ba26c636b SHA512 04a6492f732e918ca0fce72ab5ff5fbf6ca924d61de423f6abfe4a2c3f9a8ce49b2808ef62763e22601264453b43cb5d43170d3247373ad8decdae7346abe7e3
diff --git a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10-r1.ebuild
index d4ff0f261e4b..fe29cde2fa13 100644
--- a/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10.ebuild
+++ b/games-misc/fortune-mod-flashrider/fortune-mod-flashrider-1.10-r1.ebuild
@@ -1,28 +1,26 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
MY_PN="${PN/-mod/s}"
-MY_P="${MY_PN}_${PV}"
+MY_P="${MY_PN}-${PV}"
DESCRIPTION="Quotes from Prolinux articles and comments"
-HOMEPAGE="http://downloads.nanolx.org/index.php?dir=fortunes-flashrider"
-SRC_URI="http://downloads.nanolx.org/fortunes-flashrider/${MY_P}.tar.bz2"
+HOMEPAGE="https://github.com/Nanolx/fortunes-flashrider"
+SRC_URI="https://github.com/Nanolx/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
-LICENSE="GPL-2"
+LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
-IUSE=""
-DEPEND="games-misc/fortune-mod"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
+RDEPEND="games-misc/fortune-mod"
src_prepare()
{
sed -e 's#INSTALLDIR = .*#INSTALLDIR = /share/fortune#' -i Makefile
+ eapply_user
}
src_install() {