gnu: gnome-shell-extension-hide-app-icon: Fix installation.

* gnu/packages/gnome-xyz.scm: (gnome-shell-extension-hide-app-icon):
[arguments]: Install in subdirectory. Adjust indentation.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Leo Prikler 2019-12-22 16:03:43 +01:00 committed by Efraim Flashner
parent 5a947e118f
commit d17eb1011c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -158,15 +158,16 @@ (define-public gnome-shell-extension-hide-app-icon
(name "gnome-shell-extension-hide-app-icon") (name "gnome-shell-extension-hide-app-icon")
(version (git-version "2.7" revision commit)) (version (git-version "2.7" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon.git") (url (string-append "https://github.com/michael-rapp"
(commit commit))) "/gnome-shell-extension-hide-app-icon.git"))
(sha256 (commit commit)))
(base32 (sha256
"1i28n4bz6wrhn07vpxkr6l1ljyn7g8frp5xrr11z3z32h2hxxcd6")) (base32
(file-name (git-file-name name version)))) "1i28n4bz6wrhn07vpxkr6l1ljyn7g8frp5xrr11z3z32h2hxxcd6"))
(file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; no test target '(#:tests? #f ; no test target
@ -178,10 +179,11 @@ (define-public gnome-shell-extension-hide-app-icon
(delete 'configure) ; no configure script (delete 'configure) ; no configure script
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out"))
(copy-recursively "hide-app-icon@mrapp.sourceforge.com/" (pre "/share/gnome-shell/extensions/")
(string-append out "/share/gnome-shell/extensions")) (dir "hide-app-icon@mrapp.sourceforge.com"))
#t)))))) (copy-recursively dir (string-append out pre dir))
#t))))))
(native-inputs (native-inputs
`(("glib" ,glib "bin") `(("glib" ,glib "bin")
("intltool" ,intltool))) ("intltool" ,intltool)))
@ -190,10 +192,11 @@ (define-public gnome-shell-extension-hide-app-icon
(synopsis "Hide app icon from GNOME's panel") (synopsis "Hide app icon from GNOME's panel")
(description "This extension allows to hide the icon and/or title of the (description "This extension allows to hide the icon and/or title of the
currently focused application in the top panel of the GNOME shell.") currently focused application in the top panel of the GNOME shell.")
(home-page "https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon/") (home-page
"https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon/")
(license (license
;; README.md and LICENSE.txt disagree -- the former claims v3, the ;; README.md and LICENSE.txt disagree -- the former claims v3, the
;; latter v2. No mention of "or later" in either place or in the code. ;; latter v2. No mention of "or later" in either place or in the code.
(list license:gpl2 (list license:gpl2
license:gpl3))))) license:gpl3)))))