diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-puzzle/penguzzle | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/penguzzle')
-rw-r--r-- | games-puzzle/penguzzle/Manifest | 4 | ||||
-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-r2.ebuild | 51 |
4 files changed, 73 insertions, 0 deletions
diff --git a/games-puzzle/penguzzle/Manifest b/games-puzzle/penguzzle/Manifest new file mode 100644 index 000000000000..801accda21f6 --- /dev/null +++ b/games-puzzle/penguzzle/Manifest @@ -0,0 +1,4 @@ +AUX penguzzle-1.0-tclx.patch 161 BLAKE2B 2b7ffa6419d44f45f17d23166bd22729e07002f85408f34036e2f9e9e197cff302c70562f39f1d1d7576a2c33a9dfc164d596078de5fd15fd132b16f9c92546c SHA512 41292cdd6da21611de72eb363e277670bb6d641a4e9651e8ebdb4d73400a389cdc51191e0c551daab575888cbe88ff6f257c080c36c71b5000f7eb7b0d59e2c8 +DIST penguzzle.zip 21542 BLAKE2B d8f7de3c4ddac7c05aef1fafd04da81a00a22f246adaa0165dd491bf818081b3f384421f7786b4353e1d889e651568d2d10e64531573bce0636824dafbb4ace8 SHA512 fc6c57ac851df7fac7d91f90ec53fa543470e9721589966023028743951090994c372ff4538092c29aee12afc28809ad6e20a6b78ae9759bad2b41fed330b743 +EBUILD penguzzle-1.0-r2.ebuild 989 BLAKE2B 887999e3af25af6b4a1df6557340e05379556aea0d73c596459dab65135345b19e056394060fd5d132b9d7695b63b755e0752a8f1e5a8e140c8e1fd77170b463 SHA512 42d07ab7525b902c0e67080b5a95d7fb2bc5e8720c33f476467b3c32b3c4bc18d65172915413a9ee460b66f4921b586018173fab51c7ccad66cdbd47017d9fba +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 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..0f2ca8b8b23d --- /dev/null +++ b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch @@ -0,0 +1,10 @@ +--- a/bin/penguzzle ++++ b/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-r2.ebuild b/games-puzzle/penguzzle/penguzzle-1.0-r2.ebuild new file mode 100644 index 000000000000..54cc98723ec2 --- /dev/null +++ b/games-puzzle/penguzzle/penguzzle-1.0-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +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:0= + dev-tcltk/tclx +" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${PN}${PV}" + +src_prepare() { + default + sed -i \ + -e "s:~/puzz/images:/usr/share/${PN}:" \ + lib/init \ + || die "sed init failed" + sed -i \ + -e "s:~/puzz/lib:/usr/$(get_libdir)/${PN}:" \ + bin/${PN} \ + || die "sed ${PN} failed" + + eapply "${FILESDIR}"/${P}-tclx.patch +} + +src_install() { + insinto /usr/share/${PN} + doins images/img0.gif + + insinto /usr/"$(get_libdir)"/${PN} + doins lib/init + + dobin bin/${PN} + + newicon images/img0.gif ${PN}.gif + make_desktop_entry ${PN} "Penguzzle" /usr/share/pixmaps/${PN}.gif + + einstalldocs +} |