[gentoo-commits] proj/gamerlay:master commit in: games-arcade/jamestown/

2024-01-14 Thread Vadim Misbakh-Soloviov
commit: dd03c750a91c1ee1b2898ee448bdb069a73b6b71
Author: Vadim Misbakh-Soloviov  gentoo  org>
AuthorDate: Mon Jan 15 03:45:55 2024 +
Commit: Vadim Misbakh-Soloviov  gentoo  org>
CommitDate: Mon Jan 15 03:45:55 2024 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=dd03c750

games-arcade/jamestown: Migrated to EAPI8

Signed-off-by: Vadim Misbakh-Soloviov  gentoo.org>

 games-arcade/jamestown/jamestown-1.0.1.ebuild | 9 -
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/games-arcade/jamestown/jamestown-1.0.1.ebuild 
b/games-arcade/jamestown/jamestown-1.0.1.ebuild
index 0a5adf1..9cd70fe 100644
--- a/games-arcade/jamestown/jamestown-1.0.1.ebuild
+++ b/games-arcade/jamestown/jamestown-1.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit desktop eutils unpacker
+inherit desktop wrapper unpacker
 
 TS=1324610248
 
@@ -16,14 +16,13 @@ RESTRICT="fetch"
 LICENSE="Jamestown"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="app-arch/unzip"
 RDEPEND="media-libs/libsdl[opengl]"
 
 pkg_nofetch() {
ewarn
-   ewarn "Place ${A} to ${DISTDIR}"
+   ewarn "Place ${A} to ${PORTAGE_ACTUAL_DISTDIR}"
ewarn
 }
 



[gentoo-commits] proj/gamerlay:master commit in: games-arcade/jamestown/

2020-02-28 Thread Azamat H. Hackimov
commit: 8dbbe0dd8748d497155498f1b213db46c525cd9d
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Sat Feb 29 00:41:48 2020 +
Commit: Azamat H. Hackimov  gentoo  ru>
CommitDate: Sat Feb 29 00:41:48 2020 +
URL:https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8dbbe0dd

games-arcade/jamestown: update package

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov  gmail.com>

 .../jamestown/jamestown-1.0.1.1324610248.ebuild| 68 --
 games-arcade/jamestown/jamestown-1.0.1.ebuild  | 50 
 2 files changed, 50 insertions(+), 68 deletions(-)

diff --git a/games-arcade/jamestown/jamestown-1.0.1.1324610248.ebuild 
b/games-arcade/jamestown/jamestown-1.0.1.1324610248.ebuild
deleted file mode 100644
index af68521..000
--- a/games-arcade/jamestown/jamestown-1.0.1.1324610248.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit games
-inherit versionator
-inherit toolchain-funcs
-
-DESCRIPTION="A neo-classical top-down shooter for up to four players set on
-17th-century British Colonial Mars."
-HOMEPAGE="http://www.finalformgames.com/jamestown/;
-MY_PN="jtownlinux"
-MY_PV=$(replace_all_version_separators '_')
-MY_INSTALLER_PN="JamestownInstaller"
-MY_INSTALLER_PV=$(get_version_component_range 1-3 ${MY_PV})
-SRC_URI="${MY_PN}_${MY_PV}.zip"
-RESTRICT="fetch"
-
-LICENSE="Jamestown"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}
-   media-libs/libsdl[opengl]
-   >=sys-devel/gcc-4.6"
-
-pkg_nofetch() {
-   ewarn
-   ewarn "Place ${A} to ${DISTDIR}"
-   ewarn
-}
-
-src_unpack() {
-   default
-   pwd
-   unzip "${MY_INSTALLER_PN}_${MY_INSTALLER_PV}-bin"
-}
-
-S="${WORKDIR}/data"
-
-src_install() {
-   local dir="${GAMES_PREFIX_OPT}/${PN}"
-   insinto ${dir}
-   doins -r Archives Distribution.txt
-   exeinto ${dir}
-   if use amd64; then
-   EXESUFFIX="-amd64"
-   else
-   EXESUFFIX="-x86"
-   fi
-   EXENAME="Jamestown${EXESUFFIX}"
-   doexe ${EXENAME}
-   doicon ${PN}.png
-   make_desktop_entry ${PN} Jamestown ${PN}
-   games_make_wrapper ${PN} ./${EXENAME} ${dir} ${dir}
-   dodoc Jamestown_EULA.txt LICENSES.TXT README-linux-generic.txt 
README-linux.txt
-   prepgamesdirs
-}
-
-pkg_postinst() {
-   version_is_at_least 4.6 $(gcc-version) ||
-   ewarn "${PN} needs gcc version 4.6 or higher activated with gcc-config 
to
-   work properly. Please make sure to use gcc-config to set this."
-}

diff --git a/games-arcade/jamestown/jamestown-1.0.1.ebuild 
b/games-arcade/jamestown/jamestown-1.0.1.ebuild
new file mode 100644
index 000..0a5adf1
--- /dev/null
+++ b/games-arcade/jamestown/jamestown-1.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils unpacker
+
+TS=1324610248
+
+DESCRIPTION="A neo-classical top-down shooter for up to four players."
+HOMEPAGE="http://www.finalformgames.com/jamestown/;
+MY_INSTALLER_PN="JamestownInstaller"
+SRC_URI="jtownlinux_$(ver_rs 1-2 _)_${TS}.zip"
+RESTRICT="fetch"
+
+LICENSE="Jamestown"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="media-libs/libsdl[opengl]"
+
+pkg_nofetch() {
+   ewarn
+   ewarn "Place ${A} to ${DISTDIR}"
+   ewarn
+}
+
+src_unpack() {
+   default
+   unpack_zip "${WORKDIR}/JamestownInstaller_$(ver_rs 1-2 _)-bin"
+}
+
+S="${WORKDIR}/data"
+
+src_install() {
+   local dir="/opt/${PN}"
+   local exe
+   insinto ${dir}
+   doins -r Archives Distribution.txt
+   exeinto ${dir}
+   use amd64 && exe="Jamestown-amd64"
+   use x86 && exe="Jamestown-x86"
+   doexe ${exe}
+   doicon ${PN}.png
+   make_desktop_entry ${PN} Jamestown ${PN}
+   make_wrapper ${PN} ./${exe} ${dir} ${dir}
+   dodoc README-linux-generic.txt README-linux.txt
+}