guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: Add tuxpaint-stamps.


From: Eric Bavier
Subject: 02/03: gnu: Add tuxpaint-stamps.
Date: Sat, 30 Jul 2016 04:26:11 +0000 (UTC)

bavier pushed a commit to branch master
in repository guix.

commit c3d850f23271d28f804e191b92eb4d9ed1d5f83c
Author: Eric Bavier <address@hidden>
Date:   Fri Jul 8 20:15:43 2016 -0500

    gnu: Add tuxpaint-stamps.
    
    * gnu/packages/games.scm (tuxpaint-stamps): New variable.
---
 gnu/packages/games.scm |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e444d6c..37ff4a5 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2606,3 +2606,40 @@ and an encouraging cartoon mascot who helps guide 
children as they use the
 program.  It provides a blank canvas and a variety of drawing tools to help
 your child be creative.")
     (license license:gpl2+)))
+
+(define-public tuxpaint-stamps
+  (package
+    (name "tuxpaint-stamps")
+    (version "2014.08.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint-stamps/"
+                           (string-map (λ (x) (if (eq? x #\.) #\- x)) version)
+                           "/tuxpaint-stamps-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rhlwrjz44wp269v3rid4p8pi0i615pzifm1ym6va64gn1bms06q"))))
+    (build-system trivial-build-system)
+    (native-inputs
+     `(("tar" ,tar)
+       ("gzip" ,gzip)))
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder (begin
+                   (use-modules (guix build utils))
+                   (setenv "PATH"
+                           (string-append
+                            (assoc-ref %build-inputs "tar") "/bin" ":"
+                            (assoc-ref %build-inputs "gzip") "/bin"))
+                   (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
+                   (chdir (string-append ,name "-" ,version))
+                   (let ((dir (string-append %output 
"/share/tuxpaint/stamps")))
+                     (mkdir-p dir)
+                     (copy-recursively "stamps" dir)))))
+    (home-page (package-home-page tuxpaint))
+    (synopsis "Stamp images for Tux Paint")
+    (description
+     "This package contains a set of \"Rubber Stamp\" images which can be used
+with the \"Stamp\" tool within Tux Paint.")
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]