OCaml 4.14.0 rebuild
[arch-packages.git] / latex2html / trunk / PKGBUILD
blob0dba9e2f2ccb7a45b83525ba679d710867bfc7ea
1 # Maintainer:
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: Jochem Kossen <j.kossen@home.nl>
4 # Contributor: Jason Chu <jason.archlinux.org>
6 pkgname=latex2html
7 pkgver=2022.2
8 pkgrel=1
9 pkgdesc="a convertor written in Perl that converts LaTeX documents to HTML."
10 arch=('any')
11 url="https://www.ctan.org/pkg/latex2html/"
12 depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm')
13 license=('GPL2')
14 source=($pkgname-$pkgver.tar.gz::https://github.com/latex2html/latex2html/archive/v$pkgver.tar.gz)
15 sha256sums=('b1d5bba7bab7d0369d1241f2d8294137a52b7cb7df11239bfa15ec0a2546c093')
17 build() {
18   cd $pkgname-$pkgver
19     ./configure --prefix=/usr \
20       --shlibdir=/usr/lib/$pkgname \
21       --with-texpath=/usr/share/texmf/tex/latex/html \
22       --enable-gif \
23       --enable-png
25   make
28 package() {
29   cd $pkgname-$pkgver
30   make DESTDIR="${pkgdir}" install