[arch-commits] Commit in man2html/repos (staging-any staging-any/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 23:38:57 UTC 2018


    Date: Friday, November 9, 2018 @ 23:38:56
  Author: foutrelis
Revision: 338783

archrelease: copy trunk to staging-any

Added:
  man2html/repos/staging-any/
  man2html/repos/staging-any/PKGBUILD
    (from rev 338782, man2html/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: man2html/repos/staging-any/PKGBUILD (from rev 338782, man2html/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-11-09 23:38:56 UTC (rev 338783)
@@ -0,0 +1,30 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Paolo "PalmaWay" Palmieri <palmaway at gmx.it>
+
+pkgname=man2html
+pkgver=3.0.1
+pkgrel=6
+pkgdesc="A Unix manpage-to-HTML converter"
+arch=('any')
+url="http://www.nongnu.org/man2html/"
+license=('GPL')
+depends=('man-db' 'perl')
+# https://www.cpan.org/authors/id/E/EH/EHOOD/CHECKSUMS
+source=(#http://www.oac.uci.edu/indiv/ehood/tar/$pkgname$pkgver.tar.gz
+        https://www.cpan.org/authors/id/E/EH/EHOOD/$pkgname$pkgver.tar.gz)
+sha256sums=('a3dd7fdd80785c14c2f5fa54a59bf93ca5f86f026612f68770a0507a3d4e5a29')
+
+# consider to move to Debians fork also used by Fedora
+# https://packages.debian.org/source/sid/man2html
+# http://pkgs.fedoraproject.org/cgit/rpms/man2html.git/tree/man2html.spec
+
+package() {
+  cd ${srcdir}/${pkgname}${pkgver}
+  install -d ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1 
+  perl install.me -batch -binpath ${pkgdir}/usr/bin -manpath ${pkgdir}/usr/share/man
+  
+  sed -i "s:/usr/local:/usr:" man.cgi
+  install -m755 man.cgi ${pkgdir}/usr/bin/
+}


More information about the arch-commits mailing list