guix-patches
[Top][All Lists]
Advanced

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

[bug#51624] [PATCH] gnu: rcs: Install rcsfreeze.


From: Foo Chuan Wei
Subject: [bug#51624] [PATCH] gnu: rcs: Install rcsfreeze.
Date: Sat, 6 Nov 2021 05:45:12 +0000

* gnu/packages/version-control.scm (rcs): Install rcsfreeze.
---
 gnu/packages/version-control.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 064212db9f..d076cdb309 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2011,6 +2011,14 @@ projects, from individuals to large-scale enterprise 
operations.")
                "1if5pa4iip2p70gljm54nggfdnsfjxa4cqz8fpj07lvsijary39s"))
              (patches (search-patches "rcs-5.10.0-no-stdin.patch"))))
     (build-system gnu-build-system)
+    (arguments `(#:phases
+                 (modify-phases %standard-phases
+                   (add-after 'install 'install-rcsfreeze
+                     (lambda* (#:key outputs #:allow-other-keys)
+                       (chmod "src/rcsfreeze" #o755)
+                       (install-file
+                         "src/rcsfreeze"
+                         (string-append (assoc-ref outputs "out") "/bin")))))))
     (native-inputs `(("ed" ,ed)))
     (home-page "https://www.gnu.org/software/rcs/";)
     (synopsis "Per-file local revision control system")

base-commit: 4fd12fb00d595b6f6a5d5cc734863f4c4bc5f46c
-- 
2.25.1






reply via email to

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