summaryrefslogtreecommitdiff
path: root/games-puzzle/penguzzle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/penguzzle
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/penguzzle')
-rw-r--r--games-puzzle/penguzzle/Manifest4
-rw-r--r--games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch4
-rw-r--r--games-puzzle/penguzzle/penguzzle-1.0-r2.ebuild (renamed from games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild)33
3 files changed, 23 insertions, 18 deletions
diff --git a/games-puzzle/penguzzle/Manifest b/games-puzzle/penguzzle/Manifest
index a60cea9dbefd..801accda21f6 100644
--- a/games-puzzle/penguzzle/Manifest
+++ b/games-puzzle/penguzzle/Manifest
@@ -1,4 +1,4 @@
-AUX penguzzle-1.0-tclx.patch 157 BLAKE2B df3115141109b31ce34c792a725f91ae93f606811f6ac17c5d397d10fbdf9ede6df22ae4bf5d321e44b2495bebc8091894cd30762a040c107dc95810233dbfe3 SHA512 137e0707ef1e285433b78586af18a34133d29f3b202046e1843910562d9d9d68eb7ec2019c8c1e973ed52c091da05902ef48ab3864da0e513034465941605874
+AUX penguzzle-1.0-tclx.patch 161 BLAKE2B 2b7ffa6419d44f45f17d23166bd22729e07002f85408f34036e2f9e9e197cff302c70562f39f1d1d7576a2c33a9dfc164d596078de5fd15fd132b16f9c92546c SHA512 41292cdd6da21611de72eb363e277670bb6d641a4e9651e8ebdb4d73400a389cdc51191e0c551daab575888cbe88ff6f257c080c36c71b5000f7eb7b0d59e2c8
DIST penguzzle.zip 21542 BLAKE2B d8f7de3c4ddac7c05aef1fafd04da81a00a22f246adaa0165dd491bf818081b3f384421f7786b4353e1d889e651568d2d10e64531573bce0636824dafbb4ace8 SHA512 fc6c57ac851df7fac7d91f90ec53fa543470e9721589966023028743951090994c372ff4538092c29aee12afc28809ad6e20a6b78ae9759bad2b41fed330b743
-EBUILD penguzzle-1.0-r1.ebuild 910 BLAKE2B 3aa67ca5760f27842a9feb8c5f7d7019e552fd3bed026bfb0b362e427708fdfeeaa97d4d1107bd9fbff394b4f6ba6ff64680b999a99dbafa8deb7008f69a4fcf SHA512 1d768289b7a87919234c0993701366a2e8ba8a3277f3b377d998b3661703713d76cd99c0a93ae2acb8f63cdbf26c2b5a503f6a2a605e3e1d1a535e6fc1b7a176
+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
index d8c078de6a91..0f2ca8b8b23d 100644
--- a/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch
+++ b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch
@@ -1,5 +1,5 @@
---- bin/penguzzle
-+++ bin/penguzzle
+--- a/bin/penguzzle
++++ b/bin/penguzzle
@@ -1,4 +1,6 @@
-#!/usr/bin/wishx
+#!/usr/bin/wish
diff --git a/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild b/games-puzzle/penguzzle/penguzzle-1.0-r2.ebuild
index ed926fa4a95e..54cc98723ec2 100644
--- a/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild
+++ b/games-puzzle/penguzzle/penguzzle-1.0-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Tcl/Tk variant of the well-known 15-puzzle game"
HOMEPAGE="http://www.naskita.com/linux/penguzzle/penguzzle.shtml"
@@ -13,34 +13,39 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND="dev-lang/tk
- dev-tcltk/tclx"
+RDEPEND="
+ dev-lang/tk:0=
+ dev-tcltk/tclx
+"
DEPEND="app-arch/unzip"
-S=${WORKDIR}/${PN}${PV}
+S="${WORKDIR}/${PN}${PV}"
src_prepare() {
+ default
sed -i \
- -e "s:~/puzz/images:${GAMES_DATADIR}/${PN}:" \
+ -e "s:~/puzz/images:/usr/share/${PN}:" \
lib/init \
|| die "sed init failed"
sed -i \
- -e "s:~/puzz/lib:$(games_get_libdir)/${PN}:" \
+ -e "s:~/puzz/lib:/usr/$(get_libdir)/${PN}:" \
bin/${PN} \
|| die "sed ${PN} failed"
- epatch "${FILESDIR}"/${P}-tclx.patch
+ eapply "${FILESDIR}"/${P}-tclx.patch
}
src_install() {
- insinto "${GAMES_DATADIR}"/${PN}
+ insinto /usr/share/${PN}
doins images/img0.gif
- insinto "$(games_get_libdir)"/${PN}
+ insinto /usr/"$(get_libdir)"/${PN}
doins lib/init
- dogamesbin bin/${PN}
+ dobin bin/${PN}
- dodoc README
- prepgamesdirs
+ newicon images/img0.gif ${PN}.gif
+ make_desktop_entry ${PN} "Penguzzle" /usr/share/pixmaps/${PN}.gif
+
+ einstalldocs
}