summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-puzzle/cutemaze/Manifest1
-rw-r--r--games-puzzle/cutemaze/cutemaze-1.2.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/games-puzzle/cutemaze/Manifest b/games-puzzle/cutemaze/Manifest
index f188a11976df..9d7322fe970e 100644
--- a/games-puzzle/cutemaze/Manifest
+++ b/games-puzzle/cutemaze/Manifest
@@ -1 +1,2 @@
DIST cutemaze-1.1.1-src.tar.bz2 370854 SHA256 3236d012af36a8390b86524e84d38baa40a12203a1e991c653203f3a23a7445d SHA512 5f61e640ffa26ff1fa3c983fc9b091294a7707eaabeb5b0c14fd4a1e5b271afdb3c5924c342319234e0f0b1dcdb122bbdf15fa1340d3b80ccc7550479aa70bde WHIRLPOOL 1c928473b951abe6801388b0451ffeda60f248063b3619761ef2501b6285026c484d771006ed1aa224f76ccc071d00b17557eac66854fcc1b3f195f4184985f9
+DIST cutemaze-1.2.0-src.tar.bz2 800890 SHA256 d23a0d11a237f53d6b8da9234b5b475bbca8d67abbdd124cfa7c0cb4da70349b SHA512 1628f0be74730260fc31898bcc42bd55515046e9ac6a22bb90cdfa1d728f829920bbe6e2360f3daa418ab789efe36891c1c95e399d636ecc4411969bb09f0a89 WHIRLPOOL 9ac56a136859e3852736ab8e467f1468514c91d1958661464f6cbd3fee904b2640387b3e77b999605a786917a454c8ecf5ae51a27057c6d7356be9e1d0978b11
diff --git a/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild b/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild
new file mode 100644
index 000000000000..d33ace74b012
--- /dev/null
+++ b/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit gnome2-utils qmake-utils
+
+DESCRIPTION="A simple, top-down game in which mazes are randomly generated"
+HOMEPAGE="https://gottcode.org/cutemaze/"
+SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+"
+
+src_configure() {
+ eqmake5 PREFIX="/usr"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}