summaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-06-26 20:31:21 +0800
committer宋文武 <iyzsong@gmail.com>2016-06-26 20:31:55 +0800
commit4b670539623ce8d2578ede76d2587a5642630c08 (patch)
tree49135a04b59254bcef4260632f8bf7ed403ab795 /gnu/packages/games.scm
parent66fd9858f39f44d07a89b8648b0329be5c347e32 (diff)
downloadpatches-4b670539623ce8d2578ede76d2587a5642630c08.tar
patches-4b670539623ce8d2578ede76d2587a5642630c08.tar.gz
gnu: Add starfighter.
* gnu/packages/games.scm (starfighter): New variable.
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 4141d5eedd..39fc6f2666 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2447,3 +2447,48 @@ tactics.")
license:expat
license:gpl2+
license:lgpl2.1+))))
+
+(define-public starfighter
+ (package
+ (name "starfighter")
+ (version "1.5.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://savannah/starfighter/"
+ (version-major+minor version) "/"
+ name "-" version "-src.tar.gz"))
+ (sha256
+ (base32
+ "1qc0hhw9m8sy3n9fips52c7aph3w8a8pdl4n45yaasgxzbvpn9xg"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no check target
+ #:make-flags
+ (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "PREFIX=" out)
+ (string-append "BINDIR=" out "/bin/")))
+ #:phases
+ (modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure))))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("sdl2" ,sdl2)
+ ("sdl2-image" ,sdl2-image)
+ ("sdl2-mixer" ,sdl2-mixer)))
+ (home-page "http://starfighter.nongnu.org/")
+ (synopsis "2D scrolling shooter game")
+ (description
+ "In the year 2579, the intergalactic weapons corporation, WEAPCO, has
+dominated the galaxy. Guide Chris Bainfield and his friend Sid Wilson on
+their quest to liberate the galaxy from the clutches of WEAPCO. Along the
+way, you will encounter new foes, make new allies, and assist local rebels
+in strikes against the evil corporation.")
+ ;; gfx and music are under CC-BY 3.0, CC-BY-SA 3.0, CC0 or Public Domain.
+ (license (list license:gpl3+
+ license:cc-by3.0
+ license:cc-by-sa3.0
+ license:cc0
+ license:public-domain))))