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-puzzle/penguzzle |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/penguzzle')
-rw-r--r-- | games-puzzle/penguzzle/Manifest | 6 | ||||
-rw-r--r-- | games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch | 10 | ||||
-rw-r--r-- | games-puzzle/penguzzle/metadata.xml | 8 | ||||
-rw-r--r-- | games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild | 45 |
4 files changed, 69 insertions, 0 deletions
diff --git a/games-puzzle/penguzzle/Manifest b/games-puzzle/penguzzle/Manifest new file mode 100644 index 000000000000..11e8e9ae5c45 --- /dev/null +++ b/games-puzzle/penguzzle/Manifest @@ -0,0 +1,6 @@ +AUX penguzzle-1.0-tclx.patch 157 SHA256 c0daf589d7e6c7b8e079cb3d6002312f6717ad6ebe4fe154c61505e7ec730025 SHA512 137e0707ef1e285433b78586af18a34133d29f3b202046e1843910562d9d9d68eb7ec2019c8c1e973ed52c091da05902ef48ab3864da0e513034465941605874 WHIRLPOOL e8122e9ce31b05ce06c5aea3a6f5886a5a238d905bec5a3b2ab96d11afb9176b016438f349f563440e991df740a0c25470871b56dacc067aca94de6521ce63af +DIST penguzzle.zip 21542 SHA256 f3c2a4bc94fcd3d00cd8be9bf748bd3b0aa6d4251e64620fe92524e65fb951cd SHA512 fc6c57ac851df7fac7d91f90ec53fa543470e9721589966023028743951090994c372ff4538092c29aee12afc28809ad6e20a6b78ae9759bad2b41fed330b743 WHIRLPOOL 5c5e4b5a0c3f8640ee196eef73a84d8b7d472458e78f1bed3b09427cbd82cf3d3792b2b11219ff8e55f57638147f1e36ff2fcb939565d24b278ac711080d1a21 +EBUILD penguzzle-1.0-r1.ebuild 907 SHA256 f96adc41bdbce4d95f88be994404ab6e78541adc9e5647d95cbefa158cd7c3bd SHA512 99601c4e5315bed8d331601d5b34c7403548f33cfd077b9582b743d505ce86f60bdec299c26d91c07f222909beac44f04be8e974d44ddd2657ff94a4676ee365 WHIRLPOOL 0c7a5ea18906d1fdcbbc7c3497243805195b6e72163a59f51361316ce4b7287b61ccd9900a45008530b279892027b30d42c4276e4645e01f78bdfea2b4d9bf54 +MISC ChangeLog 2472 SHA256 966662aafdffab72a58f6c10b8d3aa4762cdd5bf8bd3a51629a0a3d750da4b56 SHA512 fe842300f1b8e801da5201f02094c0111cbad3d0481723917adf050d9b64982549f2b69cd9a3dd8662ff57c8e2f431118c4e2c31f6d21d6a86b1b8260145ab0f WHIRLPOOL df10532bdd702a7b28bd8739b72089fc60cb46b40d409d49e5a69c1004c1bb1593bd37fdfbfcdbb48c413ed584d28b5b894074dcb060b27ca550fbec0ea122a8 +MISC ChangeLog-2015 915 SHA256 b51cf9b6ee0bcf0bc6f60e76bbefa89c69a16cc44a0aa0b2c8402939ebd0fcf0 SHA512 85c5d38d9e2dd04bb0a888db5325fab2bad19566a2f226e339e5fecff8293dc4d96be2c72d0b5c9ab94769f07ba72738c9716059f139d2b071a464de10d31bea WHIRLPOOL 553d6e3372b5907037f7e6b9aa9cf59aa6cf8921dfbd9659674017b23f9f77b64dfd0d2fc090950260b79663c25a635a10acd5fd4d6dc578a87cfb6b7d827a36 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch new file mode 100644 index 000000000000..d8c078de6a91 --- /dev/null +++ b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch @@ -0,0 +1,10 @@ +--- bin/penguzzle ++++ bin/penguzzle +@@ -1,4 +1,6 @@ +-#!/usr/bin/wishx ++#!/usr/bin/wish ++package require Tk ++package require Tclx + + source ~/puzz/lib/init + diff --git a/games-puzzle/penguzzle/metadata.xml b/games-puzzle/penguzzle/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/penguzzle/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> diff --git a/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild b/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild new file mode 100644 index 000000000000..c8b350a1c9fd --- /dev/null +++ b/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 +inherit eutils games + +DESCRIPTION="Tcl/Tk variant of the well-known 15-puzzle game" +HOMEPAGE="http://www.naskita.com/linux/penguzzle/penguzzle.shtml" +SRC_URI="http://www.naskita.com/linux/${PN}/${PN}.zip" + +LICENSE="penguzzle" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-lang/tk + dev-tcltk/tclx" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN}${PV} + +src_prepare() { + sed -i \ + -e "s:~/puzz/images:${GAMES_DATADIR}/${PN}:" \ + lib/init \ + || die "sed init failed" + sed -i \ + -e "s:~/puzz/lib:$(games_get_libdir)/${PN}:" \ + bin/${PN} \ + || die "sed ${PN} failed" + + epatch "${FILESDIR}"/${P}-tclx.patch +} + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins images/img0.gif + + insinto "$(games_get_libdir)"/${PN} + doins lib/init + + dogamesbin bin/${PN} + + dodoc README + prepgamesdirs +} |