From c3d850f23271d28f804e191b92eb4d9ed1d5f83c Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Fri, 8 Jul 2016 20:15:43 -0500 Subject: gnu: Add tuxpaint-stamps. * gnu/packages/games.scm (tuxpaint-stamps): New variable. --- gnu/packages/games.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/games.scm') 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+))) -- cgit v1.2.3