1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
4 # Contributor: Paolo "PalmaWay" Palmieri <palmaway@gmx.it>
9 pkgdesc="A Unix manpage-to-HTML converter"
11 url="https://www.nongnu.org/man2html/"
13 depends=('man' 'perl')
14 # https://www.cpan.org/authors/id/E/EH/EHOOD/CHECKSUMS
15 source=(#http://www.oac.uci.edu/indiv/ehood/tar/$pkgname$pkgver.tar.gz
16 https://www.cpan.org/authors/id/E/EH/EHOOD/$pkgname$pkgver.tar.gz)
17 sha256sums=('a3dd7fdd80785c14c2f5fa54a59bf93ca5f86f026612f68770a0507a3d4e5a29')
19 # consider to move to Debians fork also used by Fedora
20 # https://packages.debian.org/source/sid/man2html
21 # http://pkgs.fedoraproject.org/cgit/rpms/man2html.git/tree/man2html.spec
24 cd "${srcdir}"/${pkgname}${pkgver}
25 install -d "${pkgdir}"/usr/bin "${pkgdir}"/usr/share/man/man1
26 perl install.me -batch -binpath "${pkgdir}"/usr/bin -manpath "${pkgdir}"/usr/share/man
28 sed -i "s:/usr/local:/usr:" man.cgi
29 install -m755 man.cgi "${pkgdir}"/usr/bin/