guix-commits
[Top][All Lists]
Advanced

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

13/17: gnu: ding: Use INVOKE.


From: guix-commits
Subject: 13/17: gnu: ding: Use INVOKE.
Date: Sat, 26 Jan 2019 10:34:55 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 7f46dcc49cc33e2168da1ec4d52c552c3546dd67
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Jan 26 14:47:48 2019 +0100

    gnu: ding: Use INVOKE.
    
    * gnu/packages/dictionaries.scm (ding)[arguments]: Use INVOKE.
---
 gnu/packages/dictionaries.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 9e06ac7..8c39453 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -176,8 +176,7 @@ work, such as sentence length and other readability 
measures.")
          (delete 'configure)
          (delete 'build)
          (delete 'check)
-         (replace
-             'install
+         (replace 'install
            (lambda _
              (let ((bindir (string-append
                             (assoc-ref %outputs "out") "/bin"))
@@ -209,8 +208,7 @@ work, such as sentence length and other readability 
measures.")
                   (string-append "DEFLIBDIR=\"" libdir "\"")))
                (install-file "ding.desktop" sharedir)
                (install-file "ding.png" sharedir)
-               (zero?
-                (system* "./install.sh"))))))))
+               (invoke "./install.sh")))))))
     (synopsis "Dictionary lookup program with a German-English dictionary")
     (description "Ding is a dictionary lookup program for the X window system.
 It comes with a German-English dictionary with approximately 270,000 entries.")



reply via email to

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