From 86bcbef9502d4289e40bb64ed68036ce1c035b89 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 13 Mar 2017 23:20:18 +0000 Subject: [PATCH] games-action/descent2-demodata: EAPI bump, cleanups, drop dead mirrors Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- .../descent2-demodata-1.0-r1.ebuild | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 games-action/descent2-demodata/descent2-demodata-1.0-r1.ebuild diff --git a/games-action/descent2-demodata/descent2-demodata-1.0-r1.ebuild b/games-action/descent2-demodata/descent2-demodata-1.0-r1.ebuild new file mode 100644 index 000000000000..9923919ecadc --- /dev/null +++ b/games-action/descent2-demodata/descent2-demodata-1.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="d2demo" +DEMO="${MY_PN}${PV//.}.zip" + +DESCRIPTION="Demo data files for Descent 2" +HOMEPAGE="http://www.interplay.com/games/descent.php" +SRC_URI="ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO}" +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +# ${MY_PN}.ham || die + cat ${MY_PN}.pig{2,3} > ${MY_PN}.pig || die +} + +src_install() { + insinto /usr/share/games/d2x + doins *.{ham,hog,pig} + insinto /usr/share/games/d2x/demos + doins *.dem + dodoc *.txt +} + +pkg_postinst() { + elog "A client is needed to run the game, e.g. games-action/dxx-rebirth." + echo +} -- 2.26.2