summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board')
-rw-r--r--games-board/peg-e/Manifest1
-rw-r--r--games-board/peg-e/peg-e-1.2.8.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/games-board/peg-e/Manifest b/games-board/peg-e/Manifest
index 3e5d21f3c5f1..6b221b9f363e 100644
--- a/games-board/peg-e/Manifest
+++ b/games-board/peg-e/Manifest
@@ -1 +1,2 @@
DIST peg-e-1.2.5-src.tar.bz2 598322 BLAKE2B f717d3e378fe69e087631abd8f0cbe3cc3bf2479ab86a608c256100778bc94baa40752463a4cb511c4ffd431ce38333318803a1dc289be4bd7d3aad595cd76d1 SHA512 cfd15e2c8cba678d64c9289ab2aa3803af48aebb3e4e545439c247d622dd914dac0735a0fd786cdba1678b448c22a9e40f48a9a1db6391fa6532e3d918c0ca10
+DIST peg-e-1.2.8-src.tar.bz2 592285 BLAKE2B 67c996978702ace0b249b83c3ea7159583496386114e0548b5570cb0e29ddf0d58375654b00e112228be812296ad28ad199d59f329fcda34cca8951229e35f5d SHA512 063bfb091b95f0613475e7ff9b5762ac563ede3e3a22e420e14cf098d2f6d9801bb8aaa677bddf693bdc4050b4e4be3292c1072429a294e633e2ca734d88ffa0
diff --git a/games-board/peg-e/peg-e-1.2.8.ebuild b/games-board/peg-e/peg-e-1.2.8.ebuild
new file mode 100644
index 000000000000..40086cd07d19
--- /dev/null
+++ b/games-board/peg-e/peg-e-1.2.8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop qmake-utils xdg-utils
+
+DESCRIPTION="A peg solitaire game"
+HOMEPAGE="https://gottcode.org/peg-e/"
+SRC_URI="https://gottcode.org/peg-e/${P}-src.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.5-gentoo.patch )
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}