Subject: [PATCH] install manpage

From: "ShinyZero0" <[email-masked]>
Date: Sun, 13 Aug 2023 01:21:00 +0300

From fcde8e265cbd7012b2983b6b5f9dbe58ba42a739 Mon Sep 17 00:00:00 2001
From: "zero@void" <[email-masked]>
Date: Sun, 13 Aug 2023 01:14:45 +0300
Subject: [PATCH] offpunk: install manpage

---
 gnu/packages/web-browsers.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index d9f0e9c..915fbb0 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -579,7 +579,12 @@ (define-public offpunk
                                      "/bin")
                                  ,(string-append
                                     #$(this-package-input "xdg-utils")
-                                    "/bin")))))))))
+                                    "/bin"))))))
+                       (add-after 'install 'install-manpages
+                                  (lambda _
+                                    (let*
+                                      ((mandir (string-append #$output "/share/man/man1")))
+                                      (install-file "man/offpunk.1" mandir)))))))
     (inputs (list python-cryptography
                   python-requests
                   python-feedparser
-- 
2.41.0