toon/guix.scm

34 lines
1.3 KiB
Scheme

(use-modules ((gnu packages xorg) #:select (xcursorgen))
((guix build-system gnu) #:select (gnu-build-system))
((guix gexp) #:select (gexp local-file))
((guix git-download) #:select (git-predicate))
((guix licenses) #:select (cc-by-sa4.0))
((guix packages) #:select (package)))
(let
((%source-dir (dirname (current-filename))))
(package
(name "toon-cursors")
(version "1.0.0")
(source
(local-file %source-dir
#:recursive? #t
#:select? (git-predicate %source-dir)))
(build-system gnu-build-system)
(native-inputs (list xcursorgen))
(arguments
`(#:make-flags
,#~(list (string-append "DESTDIR=" #$output "/share/icons/"))
#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'check))))
(home-page "https://git.marvid.fr/Tissevert/toon")
(synopsis "White XDG cursor theme with a cartoon feel")
(description "The theme is white with black bold contours and a relatively
round design which wouldn't be entirely out of place in a cartoon.
The icons were extracted from the White theme in an old hacked version of
Windows XP named Windows LSD and mapped roughly to X11 cursor states.")
(license cc-by-sa4.0)))