[arch-commits] Commit in latex2html/repos/extra-any (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Feb 8 17:11:08 UTC 2017
Date: Wednesday, February 8, 2017 @ 17:11:07
Author: arojas
Revision: 288266
archrelease: copy trunk to extra-any
Added:
latex2html/repos/extra-any/PKGBUILD
(from rev 288265, latex2html/trunk/PKGBUILD)
latex2html/repos/extra-any/install-destdir.patch
(from rev 288265, latex2html/trunk/install-destdir.patch)
Deleted:
latex2html/repos/extra-any/PKGBUILD
latex2html/repos/extra-any/install-destdir.patch
-----------------------+
PKGBUILD | 90 ++++++++++++++++++++++++------------------------
install-destdir.patch | 40 ++++++++++-----------
2 files changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-08 17:10:49 UTC (rev 288265)
+++ PKGBUILD 2017-02-08 17:11:07 UTC (rev 288266)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jochem Kossen <j.kossen at home.nl>
-# Contributor: Jason Chu <jason.archlinux.org>
-
-pkgname=latex2html
-pkgver=2015
-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')
-license=('GPL2')
-source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tar.gz
- install-destdir.patch)
-sha1sums=('13c893850dd1136f2e276068131f0a264c1cae1a'
- '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
-}
Copied: latex2html/repos/extra-any/PKGBUILD (from rev 288265, latex2html/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-08 17:11:07 UTC (rev 288266)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+# Contributor: Jason Chu <jason.archlinux.org>
+
+pkgname=latex2html
+pkgver=2017.2
+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')
+license=('GPL2')
+source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tar.gz
+ install-destdir.patch)
+sha1sums=('ed00007b1dc6d92fe4f3e4f60ebb7746408ef408'
+ '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 2017-02-08 17:10:49 UTC (rev 288265)
+++ install-destdir.patch 2017-02-08 17:11:07 UTC (rev 288266)
@@ -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 288265, latex2html/trunk/install-destdir.patch)
===================================================================
--- install-destdir.patch (rev 0)
+++ install-destdir.patch 2017-02-08 17:11:07 UTC (rev 288266)
@@ -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 {
More information about the arch-commits
mailing list