public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/arx-fatalis-demo/
Date: Sun, 14 Oct 2018 23:36:22 +0000 (UTC)	[thread overview]
Message-ID: <1539560170.325f6f3be1983165b76dfd5fce96cfd3ec37c04d.asturm@gentoo> (raw)

commit:     325f6f3be1983165b76dfd5fce96cfd3ec37c04d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 14 23:25:09 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 14 23:36:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325f6f3b

games-rpg/arx-fatalis-demo: EAPI-7 bump, drop games.eclass

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild  | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild
new file mode 100644
index 00000000000..f249e93678b
--- /dev/null
+++ b/games-rpg/arx-fatalis-demo/arx-fatalis-demo-0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop
+
+DESCRIPTION="Arx Fatalis demo"
+HOMEPAGE="https://www.arkane-studios.com/uk/arx.php"
+SRC_URI="arx_demo_english.zip"
+
+LICENSE="ArxFatalisDemo"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RESTRICT="fetch"
+
+RDEPEND="games-rpg/arx-libertatis"
+DEPEND="
+	app-arch/cabextract
+	app-arch/unzip
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+	einfo "Please find and download ${SRC_URI} and put it into ${DISTDIR}."
+	einfo "There is a list of possible download locations at"
+	einfo "http://wiki.arx-libertatis.org/Getting_the_game_data#Demo"
+}
+
+src_unpack() {
+	unpack ${A}
+	cabextract Setup1.cab || die "cabextract failed"
+	cabextract Setup2.cab || die "cabextract failed"
+	cabextract Setup3.cab || die "cabextract failed"
+}
+
+src_install() {
+	insinto /usr/share/${PN}
+	doins -r *.pak bin/*.pak
+	insinto /usr/share/${PN}/misc
+	doins bin/Logo.bmp bin/Arx.ttf
+
+	# convert to lowercase
+	cd "${D}"
+	find . -type f -exec sh -c 'echo "${1}"
+	lower="`echo "${1}" | tr [:upper:] [:lower:]`"
+	[ "${1}" = "${lower}" ] || mv "${1}" "${lower}"' - {} \;
+
+	make_desktop_entry "arx --data-dir=/usr/share/arx-fatalis-demo" \
+		"Arx Fatalis Demo" arx-libertatis
+}


             reply	other threads:[~2018-10-14 23:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14 23:36 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-01-25 11:17 [gentoo-commits] repo/gentoo:master commit in: games-rpg/arx-fatalis-demo/ Ulrich Müller
2018-10-22 13:43 Andreas Sturmlechner
2018-10-14 23:36 Andreas Sturmlechner
2018-02-11 10:53 Michał Górny
2017-12-11 12:48 Ulrich Müller
2017-08-22 21:41 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1539560170.325f6f3be1983165b76dfd5fce96cfd3ec37c04d.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox