diff options
author | Eric Bavier <bavier@member.fsf.org> | 2016-07-08 20:15:43 -0500 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2016-07-29 21:50:15 -0500 |
commit | c3d850f23271d28f804e191b92eb4d9ed1d5f83c (patch) | |
tree | e9934061e63a94ee40713bfe6e0dfbba3ed94a35 /gnu | |
parent | 9b1ada4e818cfb6ab467ee9167188ffc46dda289 (diff) | |
download | patches-c3d850f23271d28f804e191b92eb4d9ed1d5f83c.tar patches-c3d850f23271d28f804e191b92eb4d9ed1d5f83c.tar.gz |
gnu: Add tuxpaint-stamps.
* gnu/packages/games.scm (tuxpaint-stamps): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/games.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e444d6c07d..37ff4a5924 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+))) |