games-fps/freedm-data: New package
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Fri, 14 Jun 2019 10:13:08 +0000 (19:13 +0900)
committerJames Le Cuirot <chewi@gentoo.org>
Tue, 18 Jun 2019 21:20:25 +0000 (22:20 +0100)
Closes: https://bugs.gentoo.org/687674
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/12225
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-fps/freedm-data/Manifest [new file with mode: 0644]
games-fps/freedm-data/freedm-data-0.11.3.ebuild [new file with mode: 0644]
games-fps/freedm-data/metadata.xml [new file with mode: 0644]

diff --git a/games-fps/freedm-data/Manifest b/games-fps/freedm-data/Manifest
new file mode 100644 (file)
index 0000000..3c4282d
--- /dev/null
@@ -0,0 +1 @@
+DIST freedm-0.11.3.zip 7853186 BLAKE2B 5f399233e0d1f1c61d8170dc8e13ca0c6efe79255a87511027ad69e9ab7cf21045e9bc7f40fec6fa3604b3c77590cde8e85b2e9a53e1d89c5aeaf67bffa7023e SHA512 263f126e519a883b828b4f321363fe0f8c557ae58b76c6b3e28aa60e86c15fcc78c866bf003fc523276cefbb431023de64f09b026e85b0a0c7c85a88d1f47cd0
diff --git a/games-fps/freedm-data/freedm-data-0.11.3.ebuild b/games-fps/freedm-data/freedm-data-0.11.3.ebuild
new file mode 100644 (file)
index 0000000..43ac780
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Game resources for FreeDM"
+HOMEPAGE="https://freedoom.github.io"
+SRC_URI="https://github.com/freedoom/freedoom/releases/download/v${PV}/freedm-${PV}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="app-arch/unzip"
+
+S="${WORKDIR}/freedm-${PV}"
+
+DOOMWADPATH=/usr/share/doom
+
+src_install() {
+       insinto ${DOOMWADPATH}
+       doins freedm.wad
+       dodoc CREDITS.txt README.html
+}
+
+pkg_postinst() {
+       elog "FreeDM WAD file installed into ${DOOMWADPATH} directory."
+}
diff --git a/games-fps/freedm-data/metadata.xml b/games-fps/freedm-data/metadata.xml
new file mode 100644 (file)
index 0000000..5a1b13a
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <longdescription lang="en">
+               FreeDM is a fast-paced competitive deathmatch game, part of the Freedoom
+               project. Rather than the usual single-player focused levels, these
+               contain no monsters and are intended for deathmatch only. It is
+               compatible with mods for Doom II.
+
+               The Freedoom project aims to create a complete free content first person
+               shooter game. But Freedoom by itself is just the raw material for a
+               game: it must be paired with a compatible game engine to be played.
+
+               id Software released the source code to their classic game, Doom, under
+               the GNU General Public License. This means that the program code that
+               powers Doom is free; Freedoom complements this with free levels,
+               artwork, sound effects and music to make a completely free game.
+       </longdescription>
+       <maintainer type="person">
+               <email>vilhelm.gray@gmail.com</email>
+               <name>William Breathitt Gray</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>games@gentoo.org</email>
+               <name>Gentoo Games Project</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://github.com/freedoom/freedoom/issues</bugs-to>
+               <doc lang="en">https://freedoom.github.io</doc>
+               <remote-id type="github">freedoom/freedoom</remote-id>
+       </upstream>
+</pkgmetadata>