diff options
Diffstat (limited to 'games-puzzle/lmarbles')
-rw-r--r-- | games-puzzle/lmarbles/Manifest | 3 | ||||
-rw-r--r-- | games-puzzle/lmarbles/lmarbles-1.0.8-r1.ebuild | 29 | ||||
-rw-r--r-- | games-puzzle/lmarbles/lmarbles-1.0.8-r2.ebuild | 41 |
3 files changed, 43 insertions, 30 deletions
diff --git a/games-puzzle/lmarbles/Manifest b/games-puzzle/lmarbles/Manifest index 6322c047f852..3a8cf5347539 100644 --- a/games-puzzle/lmarbles/Manifest +++ b/games-puzzle/lmarbles/Manifest @@ -1,3 +1,4 @@ DIST lmarbles-1.0.8.tar.gz 914238 BLAKE2B 263f069cdd82d300bd5185152158912a3972bd38b9baf254fe89ba5afced151edbc95c199acb43c2db00c805cbcaf2b0d6a13f4ac5f2a91580b70f3aabd4cb6f SHA512 d765b669a1b0039a0af8b28ede8209e9736c2f967b21d9f8372d1fc5475d49a766bef297615bff090532ade41fe44e084a458227b443566a54afebc3e989b57a -EBUILD lmarbles-1.0.8-r1.ebuild 589 BLAKE2B b4f0fbf0aa4d778e05352f1d9f5a37d0a8e914a2af18819f5a445c59243ca0fe0cc19a61ad13c18654dd4c7c0bcd7ceef8ebe99471c292d78d55dda71c6a9503 SHA512 f3efb10c8c5f95784631146a87b7edd04ab4d4aad1b0189bf08778cd600c57e9e662dea0de1b987b19f9a89a5ff7f80fb9fa857a830e4fe49b0d235466058efc +DIST lmarbles.png 3300 BLAKE2B fb18495174da23370ea85e053b298c0c0d0f682aea9e2c76c60a9b58964d4e365a00c700388f6a59f12e664b5e58646ad7661001372efb37e32c35e0240858df SHA512 722c9d3149a97320d8cf43f4d02c2b7c3a78e7fef945037bd712108ed66d31e012f2f6d3ecad1b572279592ed106e1f028a7f5045793c1bdd4f8b5e5f554063d +EBUILD lmarbles-1.0.8-r2.ebuild 985 BLAKE2B c318b8fcdd50c938b2729fb85ad3982aa026c19b6e8c427ef583dfaad3b03be6b75dea0fb248ae92f3da2333976447930d55647c0cc292543e86363e6f88a40b SHA512 6395cca97f2e6c8883a121044c585f90d932304faabfe6f4e0abac6b17882d18768198c0ef014444bf7aada86203227c6dc6e051cd16684485618020304c48de MISC metadata.xml 329 BLAKE2B bcb35c37e05c93388a83ec235e25d38fb4a37ecb7df64c38a00e6bc7959090297f2c0168d1d461b24a43d0991184f62690de6d483a1d610bc74810238181593d SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 diff --git a/games-puzzle/lmarbles/lmarbles-1.0.8-r1.ebuild b/games-puzzle/lmarbles/lmarbles-1.0.8-r1.ebuild deleted file mode 100644 index e92811a4437c..000000000000 --- a/games-puzzle/lmarbles/lmarbles-1.0.8-r1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="puzzle game inspired by Atomix and written in SDL" -HOMEPAGE="http://lgames.sourceforge.net/LMarbles/" -SRC_URI="https://download.sourceforge.net/lgames/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - acct-group/gamestat - media-libs/libsdl[video] - media-libs/sdl-mixer -" -RDEPEND="${DEPEND}" - -src_install() { - default - dodoc src/manual/* - - fperms 660 /var/lib/lmarbles.prfs - fowners root:gamestat /var/lib/lmarbles.prfs -} diff --git a/games-puzzle/lmarbles/lmarbles-1.0.8-r2.ebuild b/games-puzzle/lmarbles/lmarbles-1.0.8-r2.ebuild new file mode 100644 index 000000000000..0e294386e905 --- /dev/null +++ b/games-puzzle/lmarbles/lmarbles-1.0.8-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Puzzle game inspired by Atomix and written in SDL" +HOMEPAGE="http://lgames.sourceforge.net/LMarbles/" +SRC_URI=" + https://download.sourceforge.net/lgames/${P}.tar.gz + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/gamestat + media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +HTML_DOCS=( src/manual/. ) + +src_configure() { + econf --localstatedir="${EPREFIX}"/var/games +} + +src_install() { + default + + fowners :gamestat /usr/bin/${PN} /var/games/lmarbles.prfs + fperms g+s /usr/bin/${PN} + fperms 660 /var/games/lmarbles.prfs + + # gif format is not valid for XDG icons, and .desktop hardcodes icon path + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} LMarbles + rm "${ED}"/usr/share/{applications/${PN}.desktop,icons/lmarbles48.gif} || die +} |