commit: 7a80ba52c7830b4dfad5a2d862c1d07119ceb22a
parent c962afb78b0801af2225f69258f0857721f7a438
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 28 Jun 2022 00:08:49 +0200
games-misc/papers-please: Add all game content
Diffstat:
2 files changed, 45 insertions(+), 46 deletions(-)
diff --git a/games-misc/papers-please/papers-please-1.2.76.54233-r1.ebuild b/games-misc/papers-please/papers-please-1.2.76.54233-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit unpacker
+
+MY_PV="$(ver_rs 1- _)"
+
+DESCRIPTION="A Dystopian Document Thriller"
+HOMEPAGE="https://www.gog.com/game/papers_please https://papersplea.se/"
+SRC_URI="papers_please_1_2_76_54233.sh"
+S="${WORKDIR}"
+
+LICENSE="PAPERS-PLEASE"
+SLOT="0"
+KEYWORDS="~amd64"
+
+dir="/opt/${PN}"
+
+RESTRICT="bindist fetch strip"
+QA_PREBUILT="opt/${PN}/*"
+
+BDEPEND="app-arch/unzip"
+
+pkg_nofetch() {
+ einfo
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your DISTDIR directory."
+ einfo
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_install() {
+ insinto ${dir}
+ doins -r data/noarch/game/*
+
+ exeinto "${dir}"
+ doexe data/noarch/game/PapersPlease
+ dosym "${dir}/PapersPlease" "/usr/bin/${PN}"
+}
diff --git a/games-misc/papers-please/papers-please-1.2.76.54233.ebuild b/games-misc/papers-please/papers-please-1.2.76.54233.ebuild
@@ -1,46 +0,0 @@
-# Copyright 2022 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit unpacker
-
-MY_PV="$(ver_rs 1- _)"
-
-DESCRIPTION="A Dystopian Document Thriller"
-HOMEPAGE="https://www.gog.com/game/papers_please https://papersplea.se/"
-SRC_URI="papers_please_1_2_76_54233.sh"
-S="${WORKDIR}"
-
-LICENSE="PAPERS-PLEASE"
-SLOT="0"
-KEYWORDS="~amd64"
-
-dir="/opt/${PN}"
-
-RESTRICT="bindist fetch strip"
-QA_PREBUILT="opt/${PN}/*"
-
-BDEPEND="app-arch/unzip"
-
-pkg_nofetch() {
- einfo
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to your DISTDIR directory."
- einfo
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_install() {
- exeinto "${dir}"
- doexe data/noarch/game/PapersPlease
- dosym "${dir}/PapersPlease" "/usr/bin/${PN}"
-
- insinto ${dir}
- doins -r data/noarch/game/loc/
- doins -r data/noarch/game/assets/
-}