[gentoo-commits] repo/gentoo:master commit in: games-action/postalplus/

2021-06-07 Thread Ionen Wolkens
commit: 1f8482252eb15738f1466db1c764f515cbc0fb53
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Mon May  3 09:05:08 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jun  8 04:18:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f848225

games-action/postalplus: EAPI7, improvements

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Ionen Wolkens  gentoo.org>

 games-action/postalplus/postalplus-1-r1.ebuild | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/games-action/postalplus/postalplus-1-r1.ebuild 
b/games-action/postalplus/postalplus-1-r1.ebuild
index 223d0a7931d..5f8b4e341f1 100644
--- a/games-action/postalplus/postalplus-1-r1.ebuild
+++ b/games-action/postalplus/postalplus-1-r1.ebuild
@@ -1,20 +1,19 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils cdrom
+EAPI=7
+
+inherit cdrom desktop wrapper
 
 DESCRIPTION="Ultraviolent and controversial game featuring the Postal Dude"
-HOMEPAGE="http://www.lokigames.com/products/postal/;
-SRC_URI=""
+HOMEPAGE="https://www.lokigames.com/products/postal/;
 
 LICENSE="LOKI-EULA"
 SLOT="0"
 KEYWORDS="~x86"
-IUSE=""
 RESTRICT="strip bindist"
 
-S=${WORKDIR}
+S="${WORKDIR}"
 
 src_install() {
local dir=/opt/${PN}



[gentoo-commits] repo/gentoo:master commit in: games-action/postalplus/

2019-05-31 Thread Ulrich Müller
commit: 6cfcb885a9a6162783f0ac0606f19e3587932bc6
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri May 31 07:50:50 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri May 31 08:24:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfcb885

games-action/postalplus: Add bindist restriction.

Bug: https://bugs.gentoo.org/665108
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Ulrich Müller  gentoo.org>

 games-action/postalplus/postalplus-1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-action/postalplus/postalplus-1-r1.ebuild 
b/games-action/postalplus/postalplus-1-r1.ebuild
index 569d32f5fa1..223d0a7931d 100644
--- a/games-action/postalplus/postalplus-1-r1.ebuild
+++ b/games-action/postalplus/postalplus-1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ LICENSE="LOKI-EULA"
 SLOT="0"
 KEYWORDS="~x86"
 IUSE=""
-RESTRICT="strip"
+RESTRICT="strip bindist"
 
 S=${WORKDIR}
 



[gentoo-commits] repo/gentoo:master commit in: games-action/postalplus/

2017-01-27 Thread Austin English
commit: 7e90bf893a1263777bc60c63b607402206944b53
Author: Austin English  gentoo  org>
AuthorDate: Thu Jan 26 22:32:43 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Jan 27 19:44:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e90bf89

games-action/postalplus: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 games-action/postalplus/postalplus-1-r1.ebuild | 36 ++
 1 file changed, 36 insertions(+)

diff --git a/games-action/postalplus/postalplus-1-r1.ebuild 
b/games-action/postalplus/postalplus-1-r1.ebuild
new file mode 100644
index ..1afc394
--- /dev/null
+++ b/games-action/postalplus/postalplus-1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils cdrom
+
+DESCRIPTION="Ultraviolent and controversial game featuring the Postal Dude"
+HOMEPAGE="http://www.lokigames.com/products/postal/;
+SRC_URI=""
+
+LICENSE="LOKI-EULA"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="strip"
+
+S=${WORKDIR}
+
+src_install() {
+   local dir=/opt/${PN}
+
+   cdrom_get_cds postal_plus.ini
+   exeinto "${dir}"
+   doexe "${CDROM_ROOT}"/bin/x86/postal
+   insinto "${dir}"
+   doins "${CDROM_ROOT}"/{icon.{bmp,xpm},postal_plus.ini,README}
+   cp "${CDROM_ROOT}"/icon.xpm ${PN}.xpm || die
+
+   cp -r "${CDROM_ROOT}"/res "${D}${dir}" || die
+   find "${D}" -name TRANS.TBL -exec rm '{}' + || die
+
+   make_wrapper ${PN} ./postal "${dir}"
+   doicon ${PN}.xpm
+   make_desktop_entry ${PN} "Postal Plus" ${PN}
+}