[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: upx: Clean up.
From: |
guix-commits |
Subject: |
12/12: gnu: upx: Clean up. |
Date: |
Mon, 17 Feb 2020 11:31:54 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 7046106ef90e7855311dbb1f1ae9fed3df5cf875
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Mon Feb 17 04:53:30 2020 +0100
gnu: upx: Clean up.
* gnu/packages/compression.scm (upx)[arguments]: Combine duplicate
substitutions. Replace ‘install’ phase. Fix indentation.
---
gnu/packages/compression.scm | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 3f4b99b..0982173 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1922,24 +1922,21 @@ decompression is a little bit slower.")
(list "all")
#:phases
(modify-phases %standard-phases
- (delete 'configure)
- (delete 'check)
- (delete 'install)
+ (delete 'configure) ; no configure script
+ (delete 'check) ; no test suite
(add-before 'build 'patch-exec-bin-sh
(lambda _
- (substitute* (find-files "Makefile")
- (("/bin/sh") (which "sh")))
- (substitute* "src/Makefile"
+ (substitute* (list "Makefile"
+ "src/Makefile")
(("/bin/sh") (which "sh")))
#t))
- (add-after 'build 'install-upx
+ (replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
+ (bin (string-append out "/bin")))
(mkdir-p bin)
(copy-file "src/upx.out" (string-append bin "/upx")))
- #t))
- )))
+ #t)))))
(home-page "https://upx.github.io/")
(synopsis "Compression tool for executables")
(description
- branch master updated (3dd311e -> 7046106), guix-commits, 2020/02/17
- 01/12: gnu: xpdf: Update home page., guix-commits, 2020/02/17
- 06/12: gnu: sxiv: Update to 26., guix-commits, 2020/02/17
- 05/12: gnu: rsnapshot: Use HTTPS home page., guix-commits, 2020/02/17
- 02/12: gnu: xpdf: Update to 4.02., guix-commits, 2020/02/17
- 03/12: gnu: git: Update to 2.25.1., guix-commits, 2020/02/17
- 08/12: gnu: liblangtag: Don't use NAME in source URI., guix-commits, 2020/02/17
- 07/12: gnu: weechat: Update to 2.7., guix-commits, 2020/02/17
- 12/12: gnu: upx: Clean up.,
guix-commits <=
- 04/12: gnu: slib: Use HTTPS home page., guix-commits, 2020/02/17
- 10/12: gnu: haveged: Update to 1.9.8., guix-commits, 2020/02/17
- 09/12: gnu: liblangtag: Update to 0.6.3., guix-commits, 2020/02/17
- 11/12: gnu: ebtables: Update to 2.0.11., guix-commits, 2020/02/17