logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: c962afb78b0801af2225f69258f0857721f7a438
parent cc97aacb8ff241534d745656aeded948d210d832
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 27 Jun 2022 11:14:59 +0200

games-misc/papers-please: New package

Diffstat:

Agames-misc/papers-please/Manifest1+
Agames-misc/papers-please/metadata.xml8++++++++
Agames-misc/papers-please/papers-please-1.2.76.54233.ebuild46++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/games-misc/papers-please/Manifest b/games-misc/papers-please/Manifest @@ -0,0 +1 @@ +DIST papers_please_1_2_76_54233.sh 47905973 BLAKE2B a8b1447b8d386a95ef526093854871d1013a458fa8b2574dbb7f062ef2b334a1ccb620a6955b4885bf75cbd8c994d7914dfea7ff807c757fe070edd22cf87b73 SHA512 ce5e27ff3ffcaacf4f6f3377ed5f3bac2c0312278c1b2eee635d7ac8caed8a9151b0220df7f8713fd013bd0a40f198dc4947dcee5453d8c44c7ab2c6b59f2347 diff --git a/games-misc/papers-please/metadata.xml b/games-misc/papers-please/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> +</pkgmetadata> 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 @@ -0,0 +1,46 @@ +# 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/ +}