From db803cce11f15ce0df41a910b4721c706e8b4d8f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 6 Jul 2023 00:29:00 -0400 Subject: [PATCH] gnu: l3afpad: Update to 0.8.18.1.11-0.16f2222. * gnu/packages/text-editors.scm (l3afpad): Update to 0.8.18.1.11-0.16f2222. [arguments]: Install the README and the man page. --- gnu/packages/text-editors.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 1781e75af2..f70a4302fd 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -433,7 +433,7 @@ (define-public leafpad (license license:gpl2+))) (define-public l3afpad - (let ((commit "5235c9e13bbf0d31a902c6776918c2d7cdbb61ff") + (let ((commit "16f22222116b78b7f6a6fd83289937cdaabed624") (revision "0")) (package (name "l3afpad") @@ -446,8 +446,20 @@ (define-public l3afpad (commit commit))) (sha256 (base32 - "1alyghm2wpakzdfag0g4g8gb1h9l4wdg7mnhq8bk0iq5ryqia16a")))) + "0q55351lvvlw9bi35l49mxa43g4fv110pwprzkk9m5li77vb0bcp")))) (build-system glib-or-gtk-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" #$name "-" + #$(package-version this-package))) + (man (string-append out "/share/man/man1"))) + (install-file "l3afpad.1" man) + (install-file "README" doc))))))) (native-inputs (list intltool autoconf automake pkg-config)) (inputs