From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- games-puzzle/triptych-demo/Manifest | 5 +++ games-puzzle/triptych-demo/metadata.xml | 8 ++++ games-puzzle/triptych-demo/triptych-demo-0.ebuild | 49 +++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 games-puzzle/triptych-demo/Manifest create mode 100644 games-puzzle/triptych-demo/metadata.xml create mode 100644 games-puzzle/triptych-demo/triptych-demo-0.ebuild (limited to 'games-puzzle/triptych-demo') diff --git a/games-puzzle/triptych-demo/Manifest b/games-puzzle/triptych-demo/Manifest new file mode 100644 index 000000000000..4dba88586e5a --- /dev/null +++ b/games-puzzle/triptych-demo/Manifest @@ -0,0 +1,5 @@ +DIST triptych.tar.gz 1748316 SHA256 2d583edc1b974fc346087ab73adb24d476cee040fb59912e28fbf7a8467db5a8 SHA512 614de78c9f90dd2145ff3dfa6f7a799a069c5add80bc8b0494a752346a163ab0eff7b707292b815adbffa34e4fec446035cfb65df4dd6cf284f270bb732b6daa WHIRLPOOL 53fb746b02c91a4434042a21b5b36f27b17528ac51ea9a3dcf4339cdf75c3ff93db2ffe71fb0c3123e3fbe9720264a18e183558cfda14c0320440e010c21b78d +EBUILD triptych-demo-0.ebuild 1085 SHA256 9d614a368e0f67b136e6751827822db8305356561ada06750f3bf9352937c323 SHA512 c2442ed3b689a6ff24b5a219bcb4e51b78cffe3eae6ac18cee6b3fa1ae79757360a25ad2e62d4d63c3b7033de2c0fa5108dd6990b28a08d20bf10b1dfa4a0a97 WHIRLPOOL a87d5a36a41646bdb5d5103dc46f96f52b2497a0c126141e1676ef9426106a1808cedf4e19efbd055749eb0125d76d02c45d7420276fbd0514e67f5dc841ef81 +MISC ChangeLog 2441 SHA256 3b58955d69eb4cf175278fb4980f5fa90794ae2971baeb4e45d5c21424b68b19 SHA512 d45f6169cb677f105f5cf59a3a567380250fefb772b73f5dad3660fb758c8fc07c55efa08cb6c2e00295b898c864b841d3dc2f75d29565c8689373c5abbbcf8b WHIRLPOOL a216df9719fd1c540b421a90af9eb49ae91a08bc35d48e7d388a149d0a1660a66ca0ec9cc0a68f83389a6e9d95334921278bd625d29ecee9675fb6f74d325b0b +MISC ChangeLog-2015 1482 SHA256 3ec6cc72f131261bfc7b39332283e6e570c6435a8110819bf0e0fa96a6b09976 SHA512 a7b031d9ce847c239b22a65f484a64334a4a81a340aa3a4306df0a2ef94ffe1f04f05b34c9ab2c3a3aecfc219913e688e675ae925d871029da6ed0bb4392598f WHIRLPOOL a8902444dc60eb72426362479afaeca372aa97c298e9c833a515aa049d6b50480a1b246b8eb8de403163cf4b7206c772db6cac9bf60de852b700a8f0cb29a344 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/triptych-demo/metadata.xml b/games-puzzle/triptych-demo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/triptych-demo/metadata.xml @@ -0,0 +1,8 @@ + + + + + games@gentoo.org + Gentoo Games Project + + diff --git a/games-puzzle/triptych-demo/triptych-demo-0.ebuild b/games-puzzle/triptych-demo/triptych-demo-0.ebuild new file mode 100644 index 000000000000..7f9c192fd0ef --- /dev/null +++ b/games-puzzle/triptych-demo/triptych-demo-0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="fast-paced tetris-like puzzler" +HOMEPAGE="http://www.chroniclogic.com/triptych.htm" +SRC_URI="http://s159260531.onlinehome.us/demos/triptych.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* x86" +IUSE="" +RESTRICT="mirror bindist strip" + +DEPEND="x11-libs/libXext + media-libs/libsdl[opengl,sound,video] + virtual/opengl" +RDEPEND=${DEPEND} + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/triptych ${GAMES_PREFIX_OPT}/${PN}/setup" + +S=${WORKDIR}/triptych + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir "${dir}" + + cp -pPR * "${D}"/${dir}/ || die + games_make_wrapper triptych ./triptych "${dir}" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + # Fix perms on status files #74217 + local f + for f in triptych.{clr,cnt,scr} ; do + f="${ROOT}/${GAMES_PREFIX_OPT}/${PN}/${f}" + if [[ ! -e ${f} ]] ; then + touch "${f}" \ + && chmod 660 "${f}" \ + && chown ${GAMES_USER}:${GAMES_GROUP} "${f}" \ + || die + fi + done +} -- cgit v1.2.3