diff options
Diffstat (limited to 'games-misc/OilWar')
-rw-r--r-- | games-misc/OilWar/Manifest | 7 | ||||
-rw-r--r-- | games-misc/OilWar/OilWar-1.2.1-r1.ebuild | 55 | ||||
-rw-r--r-- | games-misc/OilWar/OilWar-1.2.1-r2.ebuild | 60 | ||||
-rw-r--r-- | games-misc/OilWar/metadata.xml | 8 |
4 files changed, 130 insertions, 0 deletions
diff --git a/games-misc/OilWar/Manifest b/games-misc/OilWar/Manifest new file mode 100644 index 000000000000..24b015f25103 --- /dev/null +++ b/games-misc/OilWar/Manifest @@ -0,0 +1,7 @@ +DIST OilWar-1.2.1.tar.gz 515013 SHA256 e16ffd11439dfc857daaa98cf8a266b24794a4fbb1e84c1558794ffb622b5c63 SHA512 303581caf1cb59a4623b136595e0c1af6f682ae4c059a8848b481b42dee622083d436edb86ca9073edcf4c573f8a73b284dddea89cb8013943ef4ec81b3e17a1 WHIRLPOOL 5447c0af48b55e939b188e6351b63b3f3050fe3f7529026604194c95c84fcb2a254e33b39b55dd44391af81c62305aeac5864204104f8612813078d31be04db1 +DIST OilWar.png 2961 SHA256 f1e77e048b979b493fb9e3c48fc6a8d643836f121775f3cc4d64321260377e1a SHA512 75bd4c18791593f0bb81b51d87f6f033e2ebebe6de3653276b14e852d3625f01a61fb34257eb3d15ebf265908563f2820793b84196138b39c9329839e8fefe2d WHIRLPOOL 9bf04463dba9e043fb3c6d0dce69cc73796bba52cb06b820a304860d13294954018f6dd290ca4d760cf834bd0fefc0bdcc78f9748e9e154d68a2e083aecd1786 +EBUILD OilWar-1.2.1-r1.ebuild 1111 SHA256 dfe2c459980f66d1df05be29b29e1e1132e06312453acee5829188c189593cce SHA512 950726f6b71b3da62f7e44de864663efff839ef62f8804fcc1c1c88a3a9a7bdd768b49741b5922008e96aabbb42dec4261c48c8ec8e4ee3379cdd8ff09edb8f9 WHIRLPOOL 251e1bbef22949e7f449fc08ffb029402710c9c4663433183dc145275ce7a7cc467307caa9ef736ee3c97c21883ea83aedc9c3b7aedd7f7e28f088daf8dc7b49 +EBUILD OilWar-1.2.1-r2.ebuild 1151 SHA256 2f4f243e34f80755c56800e70c0ca5dfd87b2b77c8bd43358798614cb4b91b8c SHA512 fdf072c461e7fc59b418d5db568204b3cf3fd916785734d67e0eda7a038b84c1271a6ba58029c5b50dd1abee49d1833a18d135579c09f056d394c71b07771a15 WHIRLPOOL fcf0c02e3172d967065d1bef8151bebd816a4cdc22ef427c56541c44af1d7eb6f227f5594d630fc0fb9cecaf5cccd0f7cdaa0f6e331417d689e46fddd6cb129c +MISC ChangeLog 2682 SHA256 aa275e0a17b7be2ad8bf81f50b8fd72e7e7f260794467bf1242f8686fc9241c6 SHA512 e079f5c28746584f62e4d07e222539f2164e30e3275c02cb4c00feec0489b6c4eba3d56af72ef444954de49755aeef7e9e4e2fb0e7e73f61636b6b2f0cbce0f7 WHIRLPOOL ffb5f0af88e33053284cf0f73c8004661030923f35caccabdbec3e88f348233e58c83ea5cc90eb637bd04cf09362f7bc5db2ae9b7ac8c35a584bd11bc4f666dc +MISC ChangeLog-2015 1314 SHA256 cf15e8325b530e989737a8a219168d7a1298560f3e486bb505639f46ad4a79c1 SHA512 ebf0d10498814a4946d218fefc1d3f745f12c0a3df3d74045419e08a26fd77b7246ea8b4759c1be4f7d7c832fbddb2b8d49d0a2b48a97048aa059ea893ddf8be WHIRLPOOL 188f3a0f61dbcc5b9e8a215bb9c227486c84a395cd85d3ba932f6f3eabd43c838e7d2752d3e97ebca1dd03990a0c0fee0f3768c5a14ee5c764af09009e27c440 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-misc/OilWar/OilWar-1.2.1-r1.ebuild b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild new file mode 100644 index 000000000000..d60a26732fec --- /dev/null +++ b/games-misc/OilWar/OilWar-1.2.1-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="Evil army is attacking your country and tries to steal your oil" +HOMEPAGE="http://linux.softpedia.com/get/GAMES-ENTERTAINMENT/RTS/OilWar-15354.shtml" +SRC_URI="mirror://gentoo/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/^CXXCOMPILE/s:$(CPPFLAGS):$(SDL_CFLAGS):' \ + -e '/^datafiledir/s:/games/:/:' \ + -e '/install-data-am:/s:\\::' \ + -e '/install-data-local$/d' \ + Makefile.in || die +} + +src_configure() { + egamesconf --enable-sound +} + +src_install() { + default + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry oilwar ${PN} + fperms 664 "${GAMES_STATEDIR}/oilwar.scores" + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-misc/OilWar/OilWar-1.2.1-r2.ebuild b/games-misc/OilWar/OilWar-1.2.1-r2.ebuild new file mode 100644 index 000000000000..4b1a9829d608 --- /dev/null +++ b/games-misc/OilWar/OilWar-1.2.1-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnome2-utils user + +DESCRIPTION="Evil army is attacking your country and tries to steal your oil" +HOMEPAGE="http://linux.softpedia.com/get/GAMES-ENTERTAINMENT/RTS/OilWar-15354.shtml" +SRC_URI="mirror://gentoo/${P}.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +pkg_setup(){ + enewgroup gamestat 36 +} + +src_prepare() { + default + + sed -i \ + -e '/^CXXCOMPILE/s:$(CPPFLAGS):$(SDL_CFLAGS):' \ + -e '/install-data-am:/s:\\::' \ + -e '/install-data-local$/d' \ + Makefile.in || die +} + +src_configure() { + econf --enable-sound +} + +src_install() { + default + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry oilwar ${PN} + + fowners root:gamestat /usr/bin/oilwar /var/games/oilwar.scores + fperms 664 /var/games/oilwar.scores + fperms 2755 /usr/bin/oilwar +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-misc/OilWar/metadata.xml b/games-misc/OilWar/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-misc/OilWar/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> |