summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-28 04:27:08 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-28 12:42:39 -0400
commitae5ed958a38679bdcba44eb9005cdbeced360ec6 (patch)
treee03ca848903933ba93d7bb78753f79889c7cee31 /games-board/awale
parentgames-arcade/xscavenger: add 1.4.5, EAPI 7->8, remove imake (diff)
downloadgentoo-ae5ed958a38679bdcba44eb9005cdbeced360ec6.tar.gz
gentoo-ae5ed958a38679bdcba44eb9005cdbeced360ec6.tar.bz2
gentoo-ae5ed958a38679bdcba44eb9005cdbeced360ec6.zip
games-board/awale: add 1.6, EAPI 6->8
Previous build patch was largely intended to support games.eclass but kept despite removal, and the SRC_URI patch wasn't used at all. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-board/awale')
-rw-r--r--games-board/awale/Manifest1
-rw-r--r--games-board/awale/awale-1.6.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/games-board/awale/Manifest b/games-board/awale/Manifest
index a690f94b6f98..1ff1ba01fb72 100644
--- a/games-board/awale/Manifest
+++ b/games-board/awale/Manifest
@@ -1,2 +1,3 @@
DIST awale-1.5-no-autoreconf2.patch.xz 37268 BLAKE2B cec173e9b0be75c5d3d037a171fd796dccca5689e53f2e08d832e15a63d96502b4277f2ca6dbcbe817949cda8243aaacf7d7ede281fa32a34ffbf5f3031042f1 SHA512 857814c6ffe828bb0c3b82c214932ddf95162b7abaac6720db987f2af31a3b144543773a607edc70e0fceb8433f2aa519d3cfaca7474750cb45074aef0c37cb1
DIST awale-1.5.tar.gz 489357 BLAKE2B d9f5efd10018b1e5f9964abf25189df5186159c7826c23b85f794999c5bc8d8ea93792e83dbde2ae010489a7d90258651e7ab7115e0fc361ce682968c438aed6 SHA512 b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61
+DIST awale-1.6.tar.gz 490881 BLAKE2B 721b8dfdc6dd7a558e43e00616372b2b1a89acf1cc79cb051650809b54605d4d0c2fbc91168ad940356748c0632fba7bd016db7afee2f977f8d52f64bdd08400 SHA512 0b9e4f18d6fbd5e8acdf8e5ecbbcebad4d732993cb61b8d84787fa2a9dad5b73eee62462fddc9296c050019de76a73b1e6d8d29d3ef57148ab086e49b1016f0d
diff --git a/games-board/awale/awale-1.6.ebuild b/games-board/awale/awale-1.6.ebuild
new file mode 100644
index 000000000000..4261d41fc696
--- /dev/null
+++ b/games-board/awale/awale-1.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop
+
+DESCRIPTION="Free Awale - The game of all Africa"
+HOMEPAGE="https://www.nongnu.org/awale/"
+SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui"
+
+RDEPEND="gui? ( dev-lang/tk )"
+
+src_install() {
+ if use gui; then
+ default
+
+ fperms +x /usr/share/${PN}/xawale.tcl
+
+ doicon src/awale.png
+ make_desktop_entry xawale "Free Awale"
+
+ rm "${ED}"/usr/share/applications/awale.desktop || die
+ else
+ dobin src/awale
+ doman man/awale.6
+ einstalldocs
+ fi
+}