diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-action/descent2-demodata |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-action/descent2-demodata')
4 files changed, 141 insertions, 0 deletions
diff --git a/games-action/descent2-demodata/Manifest b/games-action/descent2-demodata/Manifest new file mode 100644 index 000000000000..1eb8a48928f0 --- /dev/null +++ b/games-action/descent2-demodata/Manifest @@ -0,0 +1,6 @@ +DIST d2demo10.zip 4306833 SHA256 f8d005670fe5cd17e07ca9bf4022f1045aed436639c37f1e83dd647e14fcec1f SHA512 a4229be701a4b2fc28d3c71591a477d242c1c784dc233c1e9ca6b798b3774de9744d8a91b0b80904b3fe63e1285b79234bf48681cddaeca702b3d9ce4c2b6fab WHIRLPOOL 063961a4cc768f4553c460413d862c7dc604d3be69b87b31af1db6ab7a2da80e1e7213ef590283126b85dd1c45745f4f4f9c61b0bfb286bb178d2cbf57fec77e +EBUILD descent2-demodata-1.0-r1.ebuild 1225 SHA256 f7a9f92876a611a0e13838b59dc53e5ca81b5bd385d58d21f44be36848019602 SHA512 a4120c6394aadd9c0f9b3b3e2362b8cfce66114dbff76226770edd35247efcfb6827b0d25b720eca376ed96f872b8bb79748ab24138c2e408d0dc814086cd0fc WHIRLPOOL ed243b85d1be7c3d319b30ff6bf48ede6b5376a5ad222f2180ade316da38609bc0a56ff692c6f9d2fc081c7bd4e8f70e8c095b54fcb705e6f764061d94fbe28f +EBUILD descent2-demodata-1.0.ebuild 1663 SHA256 caa3f1a6e5abce920368a0c4164f6e5c7fcdb4b0ef6c43f8669902028163bffc SHA512 dc243733849d48ceacdf121d4b004f0897feaa893323dc7d52057660478824a3f604503234077814351d607b1ccada8113f129b797328f3339593c2e2f1d784d WHIRLPOOL fbdd442088780829dd53d1992909c64357d77a7670784c8db7d6ee0b8f90b59bfb045b5f3000d44a60e9c42b46c2bfaebc0ac573aafd148717dc5743f90718f6 +MISC ChangeLog 2457 SHA256 0c0138491fff50a1b9c1c645d89b5f30338d9e80bca9e18ef040424b56e7e425 SHA512 86f4c406db92dbdfc4e241217e0df61d9263b35701205f9cf0653d7751bb71a4e5ad155bd804db58799403683a466e4a04dddfe6113bed639f7dec9c976ff420 WHIRLPOOL 756f6bf55679658cac682ef8f1036006f97ae0853110e4a93788d990468014c122f3c7b54cf5bac0640b5ff4dfc978336c028be533c58f0c04ae6f46e3e6dc6e +MISC ChangeLog-2015 1465 SHA256 70bca6960c9d0401877233f9fe9673ed454b91feca4cb3bda8b272c22f516d2e SHA512 e8d6a3bfee683023d22fb040a9165449b9cc3c4948fc13d3607b53d5c0805409f15e48ee0a92d983c33d83705ccfd694927a2a6fa8fe637d068768b17a7f429c WHIRLPOOL 7f0ec871d6f3bffe401be74f5e9a134b7b18c3539b69b5d9e78ffd3f659363945eb2fbc80c97697ddec9507ff56ddcefa99005387599f74fcced3442da20c3f6 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 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..79abcc78e76d --- /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 ~x86" + +# <d2x-0.2.5-r3 may include the data. +RDEPEND="!<games-action/d2x-0.2.5-r3 + !games-action/descent2-data" + +DEPEND="app-arch/unzip + app-arch/unarj" + +S="${WORKDIR}" + +src_unpack() { + default + + # This is much more fun than simply downloading + # http://www.icculus.org/d2x/data/d2shar10.tar.gz + unarj e D2_1.SOW || die + mv ${MY_PN}.ham{,1} || die + unarj e D2_2.SOW || die + mv ${MY_PN}.ham{,2} || die + mv ${MY_PN}.pig{,2} || die + unarj e D2_3.SOW || die + mv ${MY_PN}.pig{,3} || die + + # From the sows, big porkie pies shall grow + cat ${MY_PN}.ham{1,2} > ${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 +} diff --git a/games-action/descent2-demodata/descent2-demodata-1.0.ebuild b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild new file mode 100644 index 000000000000..14f126225001 --- /dev/null +++ b/games-action/descent2-demodata/descent2-demodata-1.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +MY_PN="d2demo" +MY_PV=${PV/./} +DEMO="${MY_PN}${MY_PV}.zip" + +DESCRIPTION="Demo data files for Descent 2" +HOMEPAGE="http://www.interplay.com/games/product.asp?GameID=109" +SRC_URI="ftp://ftp.funet.fi/pub/msdos/games/interplay/${DEMO} + ftp://ftp.demon.co.uk/pub/ibmpc/dos/games/descent/${DEMO} + mirror://3dgamers/descent2/${DEMO}" + +# See README.TXT +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +# d2x-0.2.5-r2 may include the demo data itself +# d2x-0.2.5-r3 does not include the demo data +#RDEPEND="|| ( +# games-action/d2x-rebirth +# >=games-action/d2x-0.2.5-r3 )" +RDEPEND="!<games-action/d2x-0.2.5-r3" +DEPEND="app-arch/unzip + app-arch/unarj" + +S=${WORKDIR} +dir=${GAMES_DATADIR}/d2x + +src_unpack() { + unpack ${A} + + # This is much more fun than simply downloading + # http://www.icculus.org/d2x/data/d2shar10.tar.gz + unarj e D2_1.SOW || die + mv ${MY_PN}.ham{,1} + unarj e D2_2.SOW || die + mv ${MY_PN}.ham{,2} + mv ${MY_PN}.pig{,2} + unarj e D2_3.SOW || die + mv ${MY_PN}.pig{,3} + + # From the sows, big porkie pies shall grow + cat ${MY_PN}.ham{1,2} > ${MY_PN}.ham || die + cat ${MY_PN}.pig{2,3} > ${MY_PN}.pig || die + + rm *{1,2,3} *.{386,bat,ubn} eregcard.ini + mkdir controls + mv *.b50 descent2.* controls +} + +src_install() { + insinto "${dir}" + # The "controls" directory is not needed, nor the ini files + doins d2demo.* + + dodoc *.txt + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "A client is needed to run the game, e.g. games-action/d2x-xl." + elog "Not all Descent 2 clients support the demo data." + echo +} diff --git a/games-action/descent2-demodata/metadata.xml b/games-action/descent2-demodata/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-action/descent2-demodata/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |