summaryrefslogtreecommitdiff
path: root/games-board/peg-e
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:20:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:20:16 +0100
commit1726f32a4bf939c045d35db6e95ab327213ecf8a (patch)
treea23a87e7968403fa317c9b9e39e5f355509407e9 /games-board/peg-e
parent06e58a0fcb900034d35485fe961fee1875f3a6b0 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/peg-e')
-rw-r--r--games-board/peg-e/Manifest5
-rw-r--r--games-board/peg-e/files/peg-e-1.2.5-gentoo.patch11
-rw-r--r--games-board/peg-e/peg-e-1.2.5.ebuild (renamed from games-board/peg-e/peg-e-1.2.3.ebuild)14
3 files changed, 19 insertions, 11 deletions
diff --git a/games-board/peg-e/Manifest b/games-board/peg-e/Manifest
index 8ac80d21feac..98ea89d1a4a1 100644
--- a/games-board/peg-e/Manifest
+++ b/games-board/peg-e/Manifest
@@ -1,3 +1,4 @@
-DIST peg-e-1.2.3-src.tar.bz2 466872 BLAKE2B bcff7b31bc2281b24b6c54466aa14e6d200b14f9204437a66a84d180607e9e108be893e4da7dd722d17c1ea7490bac34fae08ddf2dcd89f696439d026e831e96 SHA512 775bab9512ec33ef31a1fb549af365ec3ae0e8d9533c2e05f438d3affa68e10786e043925bcdec67ebdb027559773582687dbdc625d3dca307c3aadde01686dd
-EBUILD peg-e-1.2.3.ebuild 749 BLAKE2B 60d9120862d8de5a6cc6412bde0fdbb1f41542d319c5139061f43398ef1606d809bdf8c927de4f5e2dba22d23d1dbc63761f9713f3264f137420fca279fae47e SHA512 5cb855dd92e9a0228ffe4dad7e4ccdd4258bca2e7fd121fd605d2a8ddd42cf898b700fd1ac4c7b47b4950a3fb6f207941aad00c7895e8502363f8eba25413eb0
+AUX peg-e-1.2.5-gentoo.patch 253 BLAKE2B e9bb860a02f87bc255b2161e3a98c860cde367fede9d5b9bc8bef52d4934cb959fbccb50fe4a79687670fb9a264ea038a37d67c14b2f60c51a59b4818c1ee602 SHA512 8c5952603a748ba7e156451c2d0338a6dd8b89d7f8485f4360b8d353993cfd7e6c03c7b9976c649059c788f80cc4a48441ff628b342e791ba833f2c700af505a
+DIST peg-e-1.2.5-src.tar.bz2 598322 BLAKE2B f717d3e378fe69e087631abd8f0cbe3cc3bf2479ab86a608c256100778bc94baa40752463a4cb511c4ffd431ce38333318803a1dc289be4bd7d3aad595cd76d1 SHA512 cfd15e2c8cba678d64c9289ab2aa3803af48aebb3e4e545439c247d622dd914dac0735a0fd786cdba1678b448c22a9e40f48a9a1db6391fa6532e3d918c0ca10
+EBUILD peg-e-1.2.5.ebuild 688 BLAKE2B ff8b8fc6a40e90aa69d2dc7513ca2e8b662f072d22bdff72a19591a16668912e186eed8239fae5e19d1271e034ffd63e8d4939adfc52b8819c7bcf2562b965d5 SHA512 c6c27f4aea964f185e2e49f1acbcf2533ea748ad0cde2800ec68c6cde83940d89a8488000e3313f6965c018af1c9d7db632926db0d11ad31e32226935a956402
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch b/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch
new file mode 100644
index 000000000000..e6430001cf35
--- /dev/null
+++ b/games-board/peg-e/files/peg-e-1.2.5-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/peg-e.pro 2018-05-29 13:01:32.000000000 +0200
++++ b/peg-e.pro 2018-07-11 20:15:46.151082792 +0200
+@@ -75,7 +75,7 @@
+ RESOURCES = icons/icon.qrc
+
+ isEmpty(PREFIX) {
+- PREFIX = /usr/local
++ PREFIX = /usr
+ }
+ isEmpty(BINDIR) {
+ BINDIR = bin
diff --git a/games-board/peg-e/peg-e-1.2.3.ebuild b/games-board/peg-e/peg-e-1.2.5.ebuild
index adc3c90c22df..e53cb97a9303 100644
--- a/games-board/peg-e/peg-e-1.2.3.ebuild
+++ b/games-board/peg-e/peg-e-1.2.5.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit eutils gnome2-utils qmake-utils
+inherit desktop gnome2-utils qmake-utils
DESCRIPTION="A peg solitaire game"
HOMEPAGE="https://gottcode.org/peg-e/"
@@ -23,19 +23,15 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5
"
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
+
src_configure() {
eqmake5
}
src_install() {
- dobin ${PN}
- doicon -s 48 icons/hicolor/48x48/apps/${PN}.png
- domenu icons/${PN}.desktop
- dodoc CREDITS ChangeLog
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
}
pkg_postinst() {