summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-10-28 16:39:29 +0200
committerPacho Ramos <pacho@gentoo.org>2022-10-28 17:15:24 +0200
commit35059c5847fd0fff855d9e5fa9b336f1a4bfa4f5 (patch)
treec0726c20cea736ed640541029eba12261878ebad /games-action
parentdev-lang/squirrel: add 3.2 (diff)
downloadgentoo-35059c5847fd0fff855d9e5fa9b336f1a4bfa4f5.tar.gz
gentoo-35059c5847fd0fff855d9e5fa9b336f1a4bfa4f5.tar.bz2
gentoo-35059c5847fd0fff855d9e5fa9b336f1a4bfa4f5.zip
games-action/abuse: add 0.9.1
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/abuse/Manifest1
-rw-r--r--games-action/abuse/abuse-0.9.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/games-action/abuse/Manifest b/games-action/abuse/Manifest
index 497dcec74e23..03a7d90954c0 100644
--- a/games-action/abuse/Manifest
+++ b/games-action/abuse/Manifest
@@ -1,2 +1,3 @@
DIST abuse-0.8.tar.gz 6053500 BLAKE2B 4f52256b7bf13e0efa77ef50147a976fdf1fceec4ce20fb4b855a9961a7c816cf08bf51286b424da42072956a137bc3385357cfdb61bf37ff9f907284d99e09c SHA512 5c60dcf6910f9f751da26e919cd289c12349bb82eb925f9a41dc921263ece0d0f5f24c2ab2d1c718c0a5d0315453f92dfcba665fe5082eb4135ed737d2859d18
DIST abuse-0.9.0.tar.gz 4666196 BLAKE2B 3896f5b986120e0d0385daf194e7ac158a77bea07aa5b508b9beb8ee8f9423b375a0daebd8e66124719b80a57cabb101d0258176d16d63cab030c8332ca2dfcc SHA512 6c8b85920412234986f11b5333a18c85e227ba421843373b5e1d5086e596f1b63adc8c320c657b3cddafd43af9de9b163f4617a9e78a5ea3f2d0281d0408ca1c
+DIST abuse-0.9.1.tar.gz 3189092 BLAKE2B 7af8be86cdd5ede66ac200a193e5e37d188825d648aec8915e3b07608e02afc2be3f58b59dcc675d605c9a0a97b3caf256e46ba5d036e3139c254d281c50f611 SHA512 9b551e5946aba264674d56e34e7a28332676f89e93a66792e3de2cfc85264f074b7ba0d3a9c4b0ffc1ffd0d6023014cb5114c663e5677ab2fb128ca9c3997dc3
diff --git a/games-action/abuse/abuse-0.9.1.ebuild b/games-action/abuse/abuse-0.9.1.ebuild
new file mode 100644
index 000000000000..08700cc38dd6
--- /dev/null
+++ b/games-action/abuse/abuse-0.9.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+DATA_PV="0.8"
+
+DESCRIPTION="Port of Abuse by Crack Dot Com"
+HOMEPAGE="https://github.com/Xenoveritas/abuse"
+SRC_URI="https://github.com/Xenoveritas/abuse/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ http://abuse.zoy.org/raw-attachment/wiki/download/${PN}-${DATA_PV}.tar.gz"
+
+LICENSE="GPL-2 public-domain WTFPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=media-libs/libsdl2-2.0.3[sound,video]
+ media-libs/sdl2-mixer[midi,wav]
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ cmake_src_install
+
+ cp -r ../${PN}-${DATA_PV}/data/{music,sfx} ${ED}/usr/share/games/abuse/ || die
+ cp -r ../${PN}-${DATA_PV}/data/addon/{aliens,claudio,leon,newart,twist} ${ED}/usr/share/games/abuse/addon/ || die
+ cp -r ../${PN}-${DATA_PV}/data/levels/frabs* ${ED}/usr/share/games/abuse/levels/ || die
+
+ doicon data/freedesktop/com.github.Xenoveritas.abuse.png
+ domenu data/freedesktop/com.github.Xenoveritas.abuse.desktop
+ insinto /usr/share/metainfo
+ doins data/freedesktop/com.github.Xenoveritas.abuse.appdata.xml
+}