Hello all,

I am submitting this patch that packages the game 'pioneers' into the games.scm file.

Let me know if I made any mistakes or can improve anything. I'm hoping to package several more appplications soon.

The patch is an attachment.

- Rodger Fox
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 7eb0e7a..b32a6f4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2015, 2016 Alex Kost <alez...@gmail.com>
 ;;; Copyright © 2015 Paul van der Walt <p...@denknerd.org>
 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayi...@gmail.com>
+;;; Copyright © 2016 Rodger Fox <thylak...@openmailbox.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -44,6 +45,7 @@
   #:use-module (gnu packages base)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages audio)
+  #:use-module (gnu packages avahi)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages fribidi)
   #:use-module (gnu packages game-development)
@@ -89,6 +91,33 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system trivial))
 
+
+(define-public pioneers
+  (package
+    (name "pioneers")
+    (version "15.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+		     "http://downloads.sourceforge.net/pio/pioneers-";
+		     version
+                     ".tar.gz"))
+              (sha256
+                (base32
+                  "128s718nnraiznbg2rajjqb7cfkdg24hy6spdd9narb4f4dsbbv9"))))
+    (build-system gnu-build-system)
+    (inputs `(("gtk+" ,gtk+)
+              ("librsvg" ,librsvg)
+              ("avahi" ,avahi)))
+    (native-inputs `(("intltool" ,intltool)
+                     ("pkg-config" ,pkg-config)))
+    (synopsis "A clone of The Settlers of Catan board game")
+    (description
+      "Pioneers is an emulation of the board game The Settlers of Catan. It can be played on a local 
+network, on the internet, and with AI players.")
+    (home-page "http://pio.sourceforge.net/";)
+    (license license:gpl2+)))
+
 (define-public gnubg
   (package
     (name "gnubg")

Reply via email to