diff options
Diffstat (limited to 'games-puzzle/picpuz')
-rw-r--r-- | games-puzzle/picpuz/Manifest | 2 | ||||
-rw-r--r-- | games-puzzle/picpuz/picpuz-2.5-r1.ebuild (renamed from games-puzzle/picpuz/picpuz-2.5.ebuild) | 31 |
2 files changed, 15 insertions, 18 deletions
diff --git a/games-puzzle/picpuz/Manifest b/games-puzzle/picpuz/Manifest index 573c65874b35..5d66c15f6100 100644 --- a/games-puzzle/picpuz/Manifest +++ b/games-puzzle/picpuz/Manifest @@ -1,5 +1,5 @@ AUX picpuz-2.5-build.patch 5499 BLAKE2B cb568f817502eef15695e5f1cdaad837127e6004616b63596125b3538421c51e11edafc9421b173809cc22fb166d636eb47467d23ad12b5a7446a21638e5d9ea SHA512 49486aa996419da06fa7a14ac61c89930c1ca79f97615253bc1c4a96c7bc0af405d52661e1dd4b5186cf00877cde5b698070bbb9229d50e27a1a981de03d2f11 AUX picpuz-2.5-pthread-underlinking.patch 842 BLAKE2B c347703e5b8d069872c34b7af776ea5e5e27967683db9fa7834c876482e22dd41e36d3c16b7da31235bd0e5f5228dccf1e279be80969757a69acc8bc1b215532 SHA512 12c5d7e46d9db2312b24524c33877d9fcf2c6f94bf822d03bd24f021d91496b1759af078582311663e28c98405d274ee30179140b92e44b9ddaca4b40a05e658 DIST picpuz-2.5.tar.gz 267452 BLAKE2B c99126cb38611ad2e7013f0108631d6d5c7a51add0927be3fe45c6225a03db655770b05cc47626d5fe80680530527dcd5acc39495be7666fe9ec6959a2e5f0ca SHA512 598507b29b1218f05ca8a0d1a5788607cd3db899cad83ce84606d268d513c75b863986d518f0ec134cac0a5879515a13cb794f87a59bf55b48217fc6b1f5c386 -EBUILD picpuz-2.5.ebuild 1133 BLAKE2B 2356b372a03f93d9032c16bbc25887a09d055674af85f97297d630b3110a7f776c2f96a879917a22e1dac8d92486300b453b29283c2dce898a8eb1437b5925ed SHA512 ec7e3694901170877d62b12d451263ecbbbb4a5c045cb4c4ff8f2e57505aaf349875eba2be1b5125365bf0a1f24989a372866eb976cd82026e3279dd54b3fc0c +EBUILD picpuz-2.5-r1.ebuild 1044 BLAKE2B eb75be02e73ea8f0c4d0faa9f062a3b8591ce1c6a388f7a92b661dd1d0274c59accc2d3c3183139554ec7e83e9538e98d18b1e7dcb0b079aa9945dd53ac0b654 SHA512 32bd76f61cd94c14bdb3f6c831896249f4b657522eff6d8a7cc7e42c05bc28584bd772d080f50c5555293dcd448068b17eef3f59d130393873a29ce9c5e1cf17 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-puzzle/picpuz/picpuz-2.5.ebuild b/games-puzzle/picpuz/picpuz-2.5-r1.ebuild index 5d20e42bd953..5da7fe0df616 100644 --- a/games-puzzle/picpuz/picpuz-2.5.ebuild +++ b/games-puzzle/picpuz/picpuz-2.5-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils gnome2-utils games +EAPI=6 +inherit desktop gnome2-utils DESCRIPTION="A jigsaw puzzle program" HOMEPAGE="http://kornelix.squarespace.com/picpuz/" @@ -15,40 +15,37 @@ IUSE="" RDEPEND="x11-libs/gtk+:3" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig +" -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-build.patch \ - "${FILESDIR}"/${P}-pthread-underlinking.patch -} +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-pthread-underlinking.patch +) src_compile() { emake \ - BINDIR="${GAMES_BINDIR}" \ - DATADIR="${GAMES_DATADIR}"/${PN} \ + BINDIR="/usr/bin" \ + DATADIR=/usr/share/${PN} \ DOCDIR=/usr/share/doc/${PF}/html } src_install() { - dogamesbin ${PN} - insinto "${GAMES_DATADIR}"/${PN} + dobin ${PN} + insinto /usr/share/${PN} doins -r icons locales doicon -s 48 icons/${PN}.png make_desktop_entry ${PN} Picpuz - dohtml -r doc/{userguide-en.html,images} + HTML_DOCS="doc/userguide-en.html doc/images" einstalldocs dodoc doc/{changelog,README,translations} newman doc/${PN}.man ${PN}.1 - prepgamesdirs } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - games_pkg_postinst gnome2_icon_cache_update } |