diff options
author | 2024-08-01 17:45:23 +0200 | |
---|---|---|
committer | 2024-08-02 23:06:09 +0100 | |
commit | c677805a7e0f0e822057fbda317da2cb740059c2 (patch) | |
tree | 7058369d1fec482f836a45ba6bd42e86dceda640 /games-action | |
parent | games-action/armagetronad: Drop old 0.2.9.1.0 (diff) | |
download | gentoo-c677805a7e0f0e822057fbda317da2cb740059c2.tar.gz gentoo-c677805a7e0f0e822057fbda317da2cb740059c2.tar.bz2 gentoo-c677805a7e0f0e822057fbda317da2cb740059c2.zip |
games-action/barrage: add 1.0.7
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37917
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/barrage/Manifest | 1 | ||||
-rw-r--r-- | games-action/barrage/barrage-1.0.7.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/games-action/barrage/Manifest b/games-action/barrage/Manifest index e99c151b6aa0..051536e3fa19 100644 --- a/games-action/barrage/Manifest +++ b/games-action/barrage/Manifest @@ -1 +1,2 @@ DIST barrage-1.0.5.tar.gz 510221 BLAKE2B 31d0cc322bcd3d896fc11bc0df5246948493e0e3c9c47ddfea598d1f1e3751e1c3bf06123535f88812e6c5e5a2da92c6c7a1c39deedeb6b93938c615de143629 SHA512 a57a46ba1fa8719c6e115522c940edc58027baf8ea11858ca6ac45603f59e373a9ef4ce825a49d6bb05f8935bfbd81e5587c69ce153e64494f7dc1bb9e35f13d +DIST barrage-1.0.7.tar.gz 510855 BLAKE2B 568955d1c4027914ba79c3372e1d51d8acfe43061e02b42b228ec01d991ea98cf532ec9668129ed1cddf7e3fbe00fb372f5839f44aa1a04b8545fe3d2ac4f86f SHA512 b121088cb9e281e5046bc2d86b01a88bac56510217a72ad4a6e529a6434744a1a3e4bfe2b9858342a5a4ca2b923a788e22fa46e7ada703934da14d6dac459826 diff --git a/games-action/barrage/barrage-1.0.7.ebuild b/games-action/barrage/barrage-1.0.7.ebuild new file mode 100644 index 000000000000..66f1dcbc21a1 --- /dev/null +++ b/games-action/barrage/barrage-1.0.7.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Violent point-and-click shooting game" +HOMEPAGE="https://lgames.sourceforge.io/Barrage/" +SRC_URI="https://downloads.sourceforge.net/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 +} |