[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: neofetch: Update to 3.3.0.
From: |
Tobias Geerinckx-Rice |
Subject: |
04/09: gnu: neofetch: Update to 3.3.0. |
Date: |
Thu, 19 Oct 2017 20:15:00 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 378140e591170a369a03641e095cf7e0e11def79
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Thu Oct 19 23:12:53 2017 +0200
gnu: neofetch: Update to 3.3.0.
* gnu/packages/admin.scm (neofetch): Update to 3.3.0.
[arguments]: Add ‘install’ phase replacement that manually invokes make.
---
gnu/packages/admin.scm | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 23024fc..265ca63 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2139,7 +2139,7 @@ tool for remote execution and deployment.")
(define-public neofetch
(package
(name "neofetch")
- (version "3.2.0")
+ (version "3.3.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/dylanaraps/neofetch/"
@@ -2147,10 +2147,10 @@ tool for remote execution and deployment.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "07a32rzmch51znxspzyc7zyaldmr383v70b49wmnjdjs2qfdbv3a"))))
+ "15p69q0jchfms1fpb4i7kq8b28w2xpgh2zmynln618qxv1myf228"))))
(build-system gnu-build-system)
(arguments
- '(#:tests? #f ; there are no tests
+ `(#:tests? #f ; there are no tests
#:make-flags
(list (string-append "PREFIX=" %output))
#:phases
@@ -2167,7 +2167,15 @@ tool for remote execution and deployment.")
(("\"/usr/share/neofetch")
(string-append "\"" out "/share/neofetch"))))
#t))
- (delete 'configure))))
+ (delete 'configure) ; no configure script
+ (replace 'install
+ (lambda* (#:key make-flags outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (string-append out "/share/doc/" ,name "-" ,version))
+ (etc (string-append doc "/examples/etc")))
+ (zero? (apply system* `("make" ,@make-flags
+ ,(string-append "SYSCONFDIR=" etc)
+ "install")))))))))
(home-page "https://github.com/dylanaraps/neofetch")
(synopsis "System info script")
(description "Neofetch is a CLI system information tool written in Bash.
- branch master updated (7f65202 -> 3b2fa47), Tobias Geerinckx-Rice, 2017/10/19
- 01/09: gnu: cppcheck: Update to 1.81., Tobias Geerinckx-Rice, 2017/10/19
- 03/09: gnu: qtox: Update to 1.12.1., Tobias Geerinckx-Rice, 2017/10/19
- 02/09: gnu: speedtest-cli: Update to 1.0.7., Tobias Geerinckx-Rice, 2017/10/19
- 05/09: gnu: unbound: Update to 1.6.7., Tobias Geerinckx-Rice, 2017/10/19
- 04/09: gnu: neofetch: Update to 3.3.0.,
Tobias Geerinckx-Rice <=
- 06/09: gnu: colordiff: Use HTTPS home page., Tobias Geerinckx-Rice, 2017/10/19
- 08/09: gnu: cowsay: Swap ‘build’ and ‘install’ phases., Tobias Geerinckx-Rice, 2017/10/19
- 09/09: gnu: dos2unix: Update to 7.4.0., Tobias Geerinckx-Rice, 2017/10/19
- 07/09: gnu: cowsay: Update to 3.04., Tobias Geerinckx-Rice, 2017/10/19