summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2017-12-05 14:59:21 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2017-12-05 16:10:49 +0100
commite9de59f3c3d8c030c56c44a1ea8cbc7968024d8a (patch)
tree68a59b5bdb42372f5d99a7037fa4c1b7b7ec9937
parentx11-plugins/wmhdplop: drop old (diff)
downloadgentoo-e9de59f3c3d8c030c56c44a1ea8cbc7968024d8a.tar.gz
gentoo-e9de59f3c3d8c030c56c44a1ea8cbc7968024d8a.tar.bz2
gentoo-e9de59f3c3d8c030c56c44a1ea8cbc7968024d8a.zip
games-puzzle/wmpuzzle: drop games eclass, update EAPI and homepage
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r--games-puzzle/wmpuzzle/Manifest2
-rw-r--r--games-puzzle/wmpuzzle/wmpuzzle-0.5.2-r1.ebuild38
2 files changed, 39 insertions, 1 deletions
diff --git a/games-puzzle/wmpuzzle/Manifest b/games-puzzle/wmpuzzle/Manifest
index 8b3ead90953f..f2d8d84a0f09 100644
--- a/games-puzzle/wmpuzzle/Manifest
+++ b/games-puzzle/wmpuzzle/Manifest
@@ -1 +1 @@
-DIST wmpuzzle-0.5.2.tar.gz 87373 SHA256 b48b9ddb0b0bb85fd9fa3aef859984bce77b5f5faa6dad9366d00c1862a74b9b SHA512 7d171d307e3829005dff4d718161655785e87129b07917d494bb498eff904adafc7c6f83e71f996759ee9e365fe70c67858a5ec9d2647fe573e0a1505126f6c0 WHIRLPOOL 8d91e237b85ccc46ca27308f7c4e69b1cc00d9602d7e679fe6340d7442dc4c7a47c8b2bef07ae1ccc4c0998fdee0b54d55ccfa9c9dfe85eb55ec3a7a5ba93508
+DIST wmpuzzle-0.5.2.tar.gz 87373 BLAKE2B c2187fce6fbfe4f68b969da605755f379d14d47a478c6ca43da25dcb607939cf63552e108073d7031ef0dfc2d5455aade5d2f8617cbadad62587ffcaef95ed1f SHA512 7d171d307e3829005dff4d718161655785e87129b07917d494bb498eff904adafc7c6f83e71f996759ee9e365fe70c67858a5ec9d2647fe573e0a1505126f6c0
diff --git a/games-puzzle/wmpuzzle/wmpuzzle-0.5.2-r1.ebuild b/games-puzzle/wmpuzzle/wmpuzzle-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..314b27ac091a
--- /dev/null
+++ b/games-puzzle/wmpuzzle/wmpuzzle-0.5.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils gnome2-utils
+
+DESCRIPTION="a 4x4 puzzle on a 64x64 mini window"
+HOMEPAGE="https://people.debian.org/~godisch/wmpuzzle/"
+SRC_URI="https://people.debian.org/~godisch/wmpuzzle/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${P}/src
+
+src_install() {
+ dobin ${PN}
+
+ dodoc ../{CHANGES,README}
+ newicon -s 48 numbers.xpm ${PN}.xpm
+ doman ${PN}.6
+ make_desktop_entry ${PN}
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}