diff options
Diffstat (limited to 'games-arcade/betna')
-rw-r--r-- | games-arcade/betna/Manifest | 5 | ||||
-rw-r--r-- | games-arcade/betna/betna-0.9.7.ebuild | 46 | ||||
-rw-r--r-- | games-arcade/betna/metadata.xml | 8 |
3 files changed, 59 insertions, 0 deletions
diff --git a/games-arcade/betna/Manifest b/games-arcade/betna/Manifest new file mode 100644 index 000000000000..00533d28c7cc --- /dev/null +++ b/games-arcade/betna/Manifest @@ -0,0 +1,5 @@ +DIST betna-0.9.7.tgz 684723 SHA256 312267ab2f727e91343673b832d243c9d8a16a744d1d104c4bbe8502268beff4 SHA512 01a979b3bd5adf1581293db8a066a4db1b4818f5986d8954d0da5d1e1eb394201c2affcee8c679b7cd23b4d255f718619dc00183b59fe7be280f18db0c0548d5 WHIRLPOOL b4ff9b2c3890775460e6f35fee3436d587884088d1ee4267ec0f44b92d68f6703c3bc2c175aad1ba56f656069033f8ec3346dafd86bc73bfc8f92a81a1e03ac6 +EBUILD betna-0.9.7.ebuild 1002 SHA256 bf4f60634efb739e2b5ef7991e168633467147000ba01089cc78310efaa4ca24 SHA512 8e346620b44101f5e7402e8e28f4df236f3349de746849bbdcc020d55699552f7899beb82697676c66b0d8f9505639518549f0820e39a58cafb689e3ac6e260d WHIRLPOOL f331341157ec8d9f665f453bb31b65978593f5c37a74dd74a0048a6501527273cf6beb22d8eb2c774323ba1b76fd513306975c733f5ccaf74a2bf7ff72eb33e1 +MISC ChangeLog 2545 SHA256 d29872aef093734d11f0669985f1041fbd164c6bcf98109d66174ef30c2edab6 SHA512 0926dc3448b01d7de4a4d6f1474e6c544b6e0dccd2b6b673b624f253bf961fd054452e44e56589cd723a748bb32a5b0cc4a707661c190fb29a3336445846eadd WHIRLPOOL 6385a8a4a82ff362f91d4c4a9255835de329ec06b42743beffd3954da2ef513b02f204fa9091ab1ff6c43ee91470b6b2000f65cc9673bc962e69c4bf131d0456 +MISC ChangeLog-2015 1161 SHA256 64ee29c9f7a29768816298d2272b611ec9ab5a8e3f7944ed54ff0850427f512a SHA512 181cd0fec5ebd43f8d5a3aa91c3af84a67876a1a2f9d4457b16a353dd517bf9ff8cdfe2194a6b7a29d7060b5e8262a40eddb96291efdb8fe04ccb9e686da5749 WHIRLPOOL bd511b974662eb12b16d9487c7efe92707898fe7fe4c782db3df62058be6ed6bd689c77ecefd47c4fc39377d74fdc94c86eebeba8b4e8eb1dada66ea2d59c04c +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-arcade/betna/betna-0.9.7.ebuild b/games-arcade/betna/betna-0.9.7.ebuild new file mode 100644 index 000000000000..4671afc7fd47 --- /dev/null +++ b/games-arcade/betna/betna-0.9.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Defend your volcano from the attacking ants by firing rocks/bullets at them" +HOMEPAGE="http://koti.mbnet.fi/makegho/c/betna/" +SRC_URI="http://koti.mbnet.fi/makegho/c/betna/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/blobprintf.*char msg/s/char msg/const char msg/' \ + -e "s:images/:${GAMES_DATADIR}/${PN}/:" \ + src/main.cpp || die + + sed -i \ + -e '/^LDFLAGS/d' \ + -e '/--libs/s/-o/$(LDFLAGS) -o/' \ + -e 's:-O2:$(CXXFLAGS):g' \ + -e 's/g++/$(CXX)/' \ + Makefile || die +} + +src_compile() { + emake clean + emake +} + +src_install() { + dogamesbin betna + insinto "${GAMES_DATADIR}"/${PN} + doins images/* + newicon images/target.bmp ${PN}.bmp + make_desktop_entry ${PN} Betna /usr/share/pixmaps/${PN}.bmp + dodoc README Q\&A + prepgamesdirs +} diff --git a/games-arcade/betna/metadata.xml b/games-arcade/betna/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/betna/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +</pkgmetadata> |