[arch-commits] Commit in pandoc/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Mon Feb 10 05:07:14 UTC 2020


    Date: Monday, February 10, 2020 @ 05:07:14
  Author: eschwartz
Revision: 565581

pandoc: distribute manpages (FS#61707)

Seems like some previous version of the runhaskell installation stopped
installing the manpage automatically. The fully built manpage is still part of
the source tarball, so all we need to do is copy it over.

Modified:
  pandoc/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-10 00:51:27 UTC (rev 565580)
+++ PKGBUILD	2020-02-10 05:07:14 UTC (rev 565581)
@@ -63,5 +63,6 @@
     install -D -m744 register.sh   "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
     install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
     runhaskell Setup copy --destdir="${pkgdir}"
-    rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+    rm "${pkgdir}/usr/share/doc/${pkgname}/COPYING.md"
+    install -Dm644 man/pandoc.1 "${pkgdir}"/usr/share/man/man1/pandoc.1
 }



More information about the arch-commits mailing list