diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-06-19 18:03:58 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-06-20 08:40:31 -0400 |
commit | 3cc2ebf405185d94b5a3944953f8a742bc4d6540 (patch) | |
tree | d245a6382c81997c0019ecf6ef2cb2a10e165071 /games-action/barrage | |
parent | games-action/atanks: gnome2-utils--, fix icon cache qa (diff) | |
download | gentoo-3cc2ebf405185d94b5a3944953f8a742bc4d6540.tar.gz gentoo-3cc2ebf405185d94b5a3944953f8a742bc4d6540.tar.bz2 gentoo-3cc2ebf405185d94b5a3944953f8a742bc4d6540.zip |
games-action/barrage: add 1.0.5
This version adds a highscore file, and upstream's .desktop
was improved (minus icon issues) so now using it.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action/barrage')
-rw-r--r-- | games-action/barrage/Manifest | 1 | ||||
-rw-r--r-- | games-action/barrage/barrage-1.0.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/games-action/barrage/Manifest b/games-action/barrage/Manifest index db7f765f13d2..3b34a09aaaab 100644 --- a/games-action/barrage/Manifest +++ b/games-action/barrage/Manifest @@ -1 +1,2 @@ DIST barrage-1.0.4.tar.gz 484641 BLAKE2B 84a3747245c2e475c7685cc49259eb8e345fe639e9b345a9b8cb59f36ec04a31f639169a4498a50369e86a3355414e84c7326addcdc519e8bf869734ffd2ae30 SHA512 c866c0b98541c0c878ff015d99a2ae62e123c8095e94f64ef5aed26d68b734432110181c11a5b429d4feb808b2b276ac94295ff2b23ddfc64a8790d04a89a966 +DIST barrage-1.0.5.tar.gz 510221 BLAKE2B 31d0cc322bcd3d896fc11bc0df5246948493e0e3c9c47ddfea598d1f1e3751e1c3bf06123535f88812e6c5e5a2da92c6c7a1c39deedeb6b93938c615de143629 SHA512 a57a46ba1fa8719c6e115522c940edc58027baf8ea11858ca6ac45603f59e373a9ef4ce825a49d6bb05f8935bfbd81e5587c69ce153e64494f7dc1bb9e35f13d diff --git a/games-action/barrage/barrage-1.0.5.ebuild b/games-action/barrage/barrage-1.0.5.ebuild new file mode 100644 index 000000000000..62254d9f380d --- /dev/null +++ b/games-action/barrage/barrage-1.0.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop + +DESCRIPTION="Violent point-and-click shooting game" +HOMEPAGE="http://lgames.sourceforge.net/Barrage/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + acct-group/gamestat + media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +src_configure() { + econf --localstatedir="${EPREFIX}"/var/games +} + +src_compile() { + default + + # generated .desktop hardcodes icon path (and in wrong location) + sed -i "/^Icon=/s|=.*|=${PN}|" ${PN}.desktop || die +} + +src_install() { + default + + fowners :gamestat /{usr/bin/${PN},var/games/${PN}.hscr} + fperms g+s /usr/bin/${PN} + fperms 660 /var/games/${PN}.hscr + + rm "${ED}"/usr/share/icons/${PN}48.png || die + newicon ${PN}48.png ${PN}.png +} |