me
/
guix
Archived
1
0
Fork 0

gnu: orchis-theme: Build all versions.

* gnu/packages/gnome-xyz.scm (orchis-theme)[arguments]: Add #:configure-flags.
Use them in 'install phase.
master
Leo Prikler 2021-03-07 16:33:24 +01:00
parent f4a435ccca
commit c4195a1078
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 13 additions and 7 deletions

View File

@ -811,19 +811,25 @@ dark elements. It supports GNOME, Unity, Xfce, and Openbox.")
#t))))
(build-system gnu-build-system)
(arguments
'(#:tests? #f ; no tests
`(#:configure-flags (list
"--dest" (string-append
(assoc-ref %outputs "out")
"/share/themes")
"--theme" "all"
"--radio-color")
#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
(delete 'bootstrap)
(delete 'configure)
(replace 'build (lambda _ (invoke "./parse-sass.sh")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((themes (string-append (assoc-ref outputs "out")
"/share/themes")))
(mkdir-p themes)
(invoke "./install.sh" "-d" themes)
#t))))))
(lambda* (#:key configure-flags #:allow-other-keys)
(mkdir-p
(cadr (or (member "--dest" configure-flags)
(member "-d" configure-flags))))
(apply invoke "./install.sh" configure-flags)
#t)))))
(inputs
`(("gtk-engines" ,gtk-engines)))
(native-inputs