guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 13/285: gnu: gnome-shell-extension-hide-app-icon: Fix installation.
Date: Sun, 29 Dec 2019 20:43:51 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.

commit b859d4f3b714f72acd06f74ac76bc0f73e244aeb
Author: Leo Prikler <address@hidden>
Date:   Sun Dec 22 16:03:43 2019 +0100

    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 <address@hidden>
---
 gnu/packages/gnome-xyz.scm | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 4b5e07a..64fac5e 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -158,15 +158,16 @@ faster window switching.")
       (name "gnome-shell-extension-hide-app-icon")
       (version (git-version "2.7" revision commit))
       (source
-        (origin
-          (method git-fetch)
-          (uri (git-reference
-                 (url 
"https://github.com/michael-rapp/gnome-shell-extension-hide-app-icon.git";)
-                 (commit commit)))
-          (sha256
-           (base32
-            "1i28n4bz6wrhn07vpxkr6l1ljyn7g8frp5xrr11z3z32h2hxxcd6"))
-          (file-name (git-file-name name version))))
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url (string-append "https://github.com/michael-rapp";
+                                   "/gnome-shell-extension-hide-app-icon.git"))
+               (commit commit)))
+         (sha256
+          (base32
+           "1i28n4bz6wrhn07vpxkr6l1ljyn7g8frp5xrr11z3z32h2hxxcd6"))
+         (file-name (git-file-name name version))))
       (build-system gnu-build-system)
       (arguments
        '(#:tests? #f                ; no test target
@@ -178,10 +179,11 @@ faster window switching.")
            (delete 'configure)      ; no configure script
            (replace 'install
              (lambda* (#:key outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out")))
-                 (copy-recursively "address@hidden/"
-                                   (string-append out 
"/share/gnome-shell/extensions"))
-               #t))))))
+               (let ((out (assoc-ref outputs "out"))
+                     (pre "/share/gnome-shell/extensions/")
+                     (dir "address@hidden"))
+                 (copy-recursively dir (string-append out pre dir))
+                 #t))))))
       (native-inputs
        `(("glib" ,glib "bin")
          ("intltool" ,intltool)))
@@ -190,10 +192,11 @@ 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.
+        ;; 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.
         (list license:gpl2
               license:gpl3)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]