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

@ -161,7 +161,8 @@ faster window switching.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon.git")
(url (string-append "https://github.com/michael-rapp"
"/gnome-shell-extension-hide-app-icon.git"))
(commit commit)))
(sha256
(base32
@ -178,9 +179,10 @@ faster window switching.")
(delete 'configure) ; no configure script
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(copy-recursively "hide-app-icon@mrapp.sourceforge.com/"
(string-append out "/share/gnome-shell/extensions"))
(let ((out (assoc-ref outputs "out"))
(pre "/share/gnome-shell/extensions/")
(dir "hide-app-icon@mrapp.sourceforge.com"))
(copy-recursively dir (string-append out pre dir))
#t))))))
(native-inputs
`(("glib" ,glib "bin")
@ -190,7 +192,8 @@ faster window switching.")
(synopsis "Hide app icon from GNOME's panel")
(description "This extension allows to hide the icon and/or title of the
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
;; 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.