Date: Wednesday, July 30, 2014 @ 10:41:56 Author: ronald Revision: 218367
archrelease: copy trunk to extra-any Added: latex2html/repos/extra-any/PKGBUILD (from rev 218366, latex2html/trunk/PKGBUILD) latex2html/repos/extra-any/install-destdir.patch (from rev 218366, latex2html/trunk/install-destdir.patch) latex2html/repos/extra-any/latex2html.install (from rev 218366, latex2html/trunk/latex2html.install) Deleted: latex2html/repos/extra-any/PKGBUILD latex2html/repos/extra-any/install-destdir.patch latex2html/repos/extra-any/latex2html.install -----------------------+ PKGBUILD | 88 +++++++++++++++++++++++++----------------------- install-destdir.patch | 40 ++++++++++----------- latex2html.install | 30 ++++++++-------- 3 files changed, 81 insertions(+), 77 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-07-30 08:41:48 UTC (rev 218366) +++ PKGBUILD 2014-07-30 08:41:56 UTC (rev 218367) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Ronald van Haren <ronald.archlinux.org> -# Contributor: Jochem Kossen <j.kos...@home.nl> -# Contributor: Jason Chu <jason.archlinux.org> - -pkgname=latex2html -pkgver=2008 -pkgrel=2 -pkgdesc="a convertor written in Perl that converts LaTeX documents to HTML." -arch=('any') -url="http://www.ctan.org/pkg/latex2html/" -depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm') -install=$pkgname.install -license=('GPL2') -source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tar.gz - install-destdir.patch) -md5sums=('275ab6cfa8ca9328446b7f40d8dc302e' - '5b77601b36abca4fff3e2f75ccf15499') - -build() { - cd $srcdir/$pkgname-$pkgver - patch -Np0 -i ${srcdir}/install-destdir.patch - ./configure --prefix=/usr \ - --shlibdir=/usr/lib/$pkgname \ - --with-texpath=/usr/share/texmf/tex/latex/html \ - --enable-wrapper \ - --enable-gif \ - --enable-png - - make -} - -package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=${pkgdir} install - - # set correct permission on executables - chmod 755 $pkgdir/usr/bin/{pstoimg,texexpand,latex2html} - - # avoid conflict with TeXLive - rm -f ${pkgdir}/usr/share/texmf/tex/latex/html/url.sty -} Copied: latex2html/repos/extra-any/PKGBUILD (from rev 218366, latex2html/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-07-30 08:41:56 UTC (rev 218367) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Jochem Kossen <j.kos...@home.nl> +# Contributor: Jason Chu <jason.archlinux.org> + +pkgname=latex2html +pkgver=2012 +pkgrel=1 +pkgdesc="a convertor written in Perl that converts LaTeX documents to HTML." +arch=('any') +url="http://www.ctan.org/pkg/latex2html/" +depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm') +install=$pkgname.install +license=('GPL2') +source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tgz + install-destdir.patch) +sha1sums=('54b42d3fb812b0bf3d25bbde7e0ea2daf84e69ff' + '7b654c41779b8387010b69abe4e5aa51d583c278') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -Np0 -i ${srcdir}/install-destdir.patch +} + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr \ + --shlibdir=/usr/lib/$pkgname \ + --with-texpath=/usr/share/texmf/tex/latex/html \ + --enable-wrapper \ + --enable-gif \ + --enable-png + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=${pkgdir} install + + # set correct permission on executables + chmod 755 $pkgdir/usr/bin/{pstoimg,texexpand,latex2html} + + # avoid conflict with TeXLive + rm -f ${pkgdir}/usr/share/texmf/tex/latex/html/url.sty +} Deleted: install-destdir.patch =================================================================== --- install-destdir.patch 2014-07-30 08:41:48 UTC (rev 218366) +++ install-destdir.patch 2014-07-30 08:41:56 UTC (rev 218367) @@ -1,20 +0,0 @@ ---- config/install.pl.old 2011-04-25 09:32:26.052179167 -0700 -+++ config/install.pl 2011-04-25 09:33:28.262180892 -0700 -@@ -372,14 +372,15 @@ - - if($cfg{TEXPATH}) { - print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; -- unless(mkpath($cfg{TEXPATH})) { -+ my $dest = $cfg{TEXPATH}; -+ $dest = $ENV{'DESTDIR'}.$dest if($ENV{'DESTDIR'}); -+ unless(mkpath($dest)) { - #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html - #$testpath =~ s/[$dd$dd][^$dd$dd]*$//; - #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { - print STDERR "\nError: Cannot install LaTeX2HTML style files in $cfg{TEXPATH}\n"; - } else { - my $dir = 'texinputs'; -- my $dest = $cfg{TEXPATH}; - unless(opendir(DIR,$dir)) { - print STDERR qq{Error: Could not read directory "$dir": $!\n}; - } else { Copied: latex2html/repos/extra-any/install-destdir.patch (from rev 218366, latex2html/trunk/install-destdir.patch) =================================================================== --- install-destdir.patch (rev 0) +++ install-destdir.patch 2014-07-30 08:41:56 UTC (rev 218367) @@ -0,0 +1,20 @@ +--- config/install.pl.old 2011-04-25 09:32:26.052179167 -0700 ++++ config/install.pl 2011-04-25 09:33:28.262180892 -0700 +@@ -372,14 +372,15 @@ + + if($cfg{TEXPATH}) { + print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; +- unless(mkpath($cfg{TEXPATH})) { ++ my $dest = $cfg{TEXPATH}; ++ $dest = $ENV{'DESTDIR'}.$dest if($ENV{'DESTDIR'}); ++ unless(mkpath($dest)) { + #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html + #$testpath =~ s/[$dd$dd][^$dd$dd]*$//; + #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { + print STDERR "\nError: Cannot install LaTeX2HTML style files in $cfg{TEXPATH}\n"; + } else { + my $dir = 'texinputs'; +- my $dest = $cfg{TEXPATH}; + unless(opendir(DIR,$dir)) { + print STDERR qq{Error: Could not read directory "$dir": $!\n}; + } else { Deleted: latex2html.install =================================================================== --- latex2html.install 2014-07-30 08:41:48 UTC (rev 218366) +++ latex2html.install 2014-07-30 08:41:56 UTC (rev 218367) @@ -1,15 +0,0 @@ -post_install() { - echo ">>> texlive: updating the filename database..." - texconfig-sys rehash -} - -post_upgrade() { - echo ">>> texlive: updating the filename database..." - texconfig-sys rehash -} - -post_remove() { - echo ">>> texlive: updating the filename database..." - texconfig-sys rehash -} - Copied: latex2html/repos/extra-any/latex2html.install (from rev 218366, latex2html/trunk/latex2html.install) =================================================================== --- latex2html.install (rev 0) +++ latex2html.install 2014-07-30 08:41:56 UTC (rev 218367) @@ -0,0 +1,15 @@ +post_install() { + echo ">>> texlive: updating the filename database..." + texconfig-sys rehash +} + +post_upgrade() { + echo ">>> texlive: updating the filename database..." + texconfig-sys rehash +} + +post_remove() { + echo ">>> texlive: updating the filename database..." + texconfig-sys rehash +} +