gnu: gnome-shell-extension-noannoyance: Use the copy-build-system.

* gnu/packages/gnome-xyz.scm (gnome-shell-extension-noannoyance):
Use the copy-build-system.
This commit is contained in:
Leo Prikler 2020-02-21 17:32:15 +01:00 committed by Pierre Neidhardt
parent f6a151cdc6
commit c456d18b50
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -380,18 +380,10 @@ (define-public gnome-shell-extension-noannoyance
(base32 (base32
"0fa8l3xlh8kbq07y4385wpb908zm6x53z81q16xlmin97dln32hh")) "0fa8l3xlh8kbq07y4385wpb908zm6x53z81q16xlmin97dln32hh"))
(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/gnome-shell/extensions/noannoyance@daase.net"))))
(begin
(use-modules (guix build utils))
(let ((dst (string-append
(assoc-ref %outputs "out")
"/share/gnome-shell/extensions/"
"noannoyance@daase.net")))
(mkdir-p dst)
(copy-recursively (assoc-ref %build-inputs "source") dst)))))
(synopsis "Removes 'Window is ready' annotation") (synopsis "Removes 'Window is ready' annotation")
(description "One of the many extensions, that remove this message. (description "One of the many extensions, that remove this message.
It uses ES6 syntax and claims to be more actively maintained than others.") It uses ES6 syntax and claims to be more actively maintained than others.")