Date: Friday, January 25, 2019 @ 06:56:30 Author: andyrtr Revision: 344719
archrelease: copy trunk to extra-x86_64 Added: man2html/repos/extra-x86_64/ man2html/repos/extra-x86_64/PKGBUILD (from rev 344718, man2html/trunk/PKGBUILD) ----------+ PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) Copied: man2html/repos/extra-x86_64/PKGBUILD (from rev 344718, man2html/trunk/PKGBUILD) =================================================================== --- extra-x86_64/PKGBUILD (rev 0) +++ extra-x86_64/PKGBUILD 2019-01-25 06:56:30 UTC (rev 344719) @@ -0,0 +1,30 @@ +# Maintainer: AndyRTR <andy...@archlinux.org> + +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Contributor: Paolo "PalmaWay" Palmieri <palma...@gmx.it> + +pkgname=man2html +pkgver=3.0.1 +pkgrel=6 +pkgdesc="A Unix manpage-to-HTML converter" +arch=('any') +url="https://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/ +}