gnu: delft-icon-theme: Use the copy-build-system.
* gnu/packages/gnome-xyz.scm (delft-icon-theme): Use the copy-build-system. Signed-off-by: Pierre Neidhardt <mail@ambrevar.xyz>
This commit is contained in:
parent
a3b1f878df
commit
3282137d0e
1 changed files with 10 additions and 12 deletions
|
|
@ -101,19 +101,17 @@ like Gnome, Unity, Budgie, Pantheon, XFCE, Mate and others.")
|
||||||
(base32
|
(base32
|
||||||
"0vw3yw9f9ygzfd2k3zrfih3r0vkzlhk1bmsk8sapvk7np24i1z9s"))
|
"0vw3yw9f9ygzfd2k3zrfih3r0vkzlhk1bmsk8sapvk7np24i1z9s"))
|
||||||
(file-name (git-file-name name version))))
|
(file-name (git-file-name name version))))
|
||||||
(build-system trivial-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules ((guix build utils))
|
`(#:install-plan
|
||||||
#:builder
|
`(("." "share/icons" #:exclude ("README.md" "LICENSE" "logo.jpg")))
|
||||||
(begin
|
#:phases
|
||||||
(use-modules (guix build utils))
|
(modify-phases %standard-phases
|
||||||
(copy-recursively (assoc-ref %build-inputs "source") "icons")
|
(add-after 'unpack 'patch-index.theme
|
||||||
(substitute* "icons/Delft/index.theme"
|
(lambda _
|
||||||
(("gnome") "Adwaita"))
|
(substitute* "Delft/index.theme"
|
||||||
(delete-file "icons/README.md")
|
(("gnome") "Adwaita"))
|
||||||
(delete-file "icons/LICENSE")
|
#t)))))
|
||||||
(delete-file "icons/logo.jpg")
|
|
||||||
(copy-recursively "icons" (string-append %output "/share/icons")))))
|
|
||||||
(home-page "https://www.gnome-look.org/p/1199881/")
|
(home-page "https://www.gnome-look.org/p/1199881/")
|
||||||
(synopsis "Continuation of Faenza icon theme with up to date app icons")
|
(synopsis "Continuation of Faenza icon theme with up to date app icons")
|
||||||
(description "Delft is a fork of the popular icon theme Faenza with up to
|
(description "Delft is a fork of the popular icon theme Faenza with up to
|
||||||
|
|
|
||||||
Reference in a new issue