games-board/peg-e: 1.2.8 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 21 May 2020 19:20:50 +0000 (21:20 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 21 May 2020 19:21:31 +0000 (21:21 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
games-board/peg-e/Manifest
games-board/peg-e/peg-e-1.2.8.ebuild [new file with mode: 0644]

index 3e5d21f3c5f1f0bf4722566f1ae821c09abfb709..6b221b9f363e842a9c7127292893e03feab52e47 100644 (file)
@@ -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 (file)
index 0000000..40086cd
--- /dev/null
@@ -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
+}