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 | |
| parent | 9b1ada4e818cfb6ab467ee9167188ffc46dda289 (diff) | |
gnu: Add tuxpaint-stamps.
* gnu/packages/games.scm (tuxpaint-stamps): New variable.
| -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 e444d6c07d0..37ff4a5924b 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 | |||
| 2606 | program. It provides a blank canvas and a variety of drawing tools to help | 2606 | program. It provides a blank canvas and a variety of drawing tools to help |
| 2607 | your child be creative.") | 2607 | your child be creative.") |
| 2608 | (license license:gpl2+))) | 2608 | (license license:gpl2+))) |
| 2609 | |||
| 2610 | (define-public tuxpaint-stamps | ||
| 2611 | (package | ||
| 2612 | (name "tuxpaint-stamps") | ||
| 2613 | (version "2014.08.23") | ||
| 2614 | (source | ||
| 2615 | (origin | ||
| 2616 | (method url-fetch) | ||
| 2617 | (uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint-stamps/" | ||
| 2618 | (string-map (λ (x) (if (eq? x #\.) #\- x)) version) | ||
| 2619 | "/tuxpaint-stamps-" version ".tar.gz")) | ||
| 2620 | (sha256 | ||
| 2621 | (base32 | ||
| 2622 | "0rhlwrjz44wp269v3rid4p8pi0i615pzifm1ym6va64gn1bms06q")))) | ||
| 2623 | (build-system trivial-build-system) | ||
| 2624 | (native-inputs | ||
| 2625 | `(("tar" ,tar) | ||
| 2626 | ("gzip" ,gzip))) | ||
| 2627 | (arguments | ||
| 2628 | `(#:modules ((guix build utils)) | ||
| 2629 | #:builder (begin | ||
| 2630 | (use-modules (guix build utils)) | ||
| 2631 | (setenv "PATH" | ||
| 2632 | (string-append | ||
| 2633 | (assoc-ref %build-inputs "tar") "/bin" ":" | ||
| 2634 | (assoc-ref %build-inputs "gzip") "/bin")) | ||
| 2635 | (system* "tar" "xvf" (assoc-ref %build-inputs "source")) | ||
| 2636 | (chdir (string-append ,name "-" ,version)) | ||
| 2637 | (let ((dir (string-append %output "/share/tuxpaint/stamps"))) | ||
| 2638 | (mkdir-p dir) | ||
| 2639 | (copy-recursively "stamps" dir))))) | ||
| 2640 | (home-page (package-home-page tuxpaint)) | ||
| 2641 | (synopsis "Stamp images for Tux Paint") | ||
| 2642 | (description | ||
| 2643 | "This package contains a set of \"Rubber Stamp\" images which can be used | ||
| 2644 | with the \"Stamp\" tool within Tux Paint.") | ||
| 2645 | (license license:gpl2+))) | ||
