Subject: bug#26154: [PATCH 2/3] gnu: Add megaglest-data.

From: Arun Isaac <[email-masked]>
Date: Sat, 18 Mar 2017 21:37:38 +0530

* gnu/packages/games.scm (megaglest-data): New variable.
---
 gnu/packages/games.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f264ef206..be14259c6 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -25,6 +25,7 @@
 ;;; Copyright © 2016 Jan Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2016 Steve Webber <[email-masked]>
 ;;; Copyright © 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <[email-masked]>
+;;; Copyright © 2017 Arun Isaac <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3267,3 +3268,30 @@ This command works on piped data.  Pipe any ASCII or UTF-8 text to nms, and
 it will apply the hollywood effect, initially showing encrypted data, then
 starting a decryption sequence to reveal the original plaintext characters.")
     (license license:expat)))
+
+(define-public megaglest-data
+  (package
+    (name "megaglest-data")
+    (version "3.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/MegaGlest/megaglest-data/archive/"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0pif2n0py86kw2z3c7jlhlvf34cl6plscxnaddi2r3p7x80mcxwr"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f))
+    (home-page "https://megaglest.org/")
+    (synopsis "3D real-time strategy (RTS) game (data files)")
+    (description "MegaGlest is an entertaining free and open source
+cross-platform 3D real-time strategy (RTS) game, where you control the
+armies of one of seven different factions: Tech, Magic, Egypt,
+Indians, Norsemen, Persian or Romans.
+
+This package contains the data files required for the game.")
+    (license license:cc-by-sa3.0)))
-- 
2.11.0