[arch-commits] Commit in latex2html/repos/extra-any (4 files)

Antonio Rojas arojas at archlinux.org
Sun Aug 30 08:05:09 UTC 2020


    Date: Sunday, August 30, 2020 @ 08:05:09
  Author: arojas
Revision: 394915

archrelease: copy trunk to extra-any

Added:
  latex2html/repos/extra-any/PKGBUILD
    (from rev 394914, latex2html/trunk/PKGBUILD)
  latex2html/repos/extra-any/install-destdir.patch
    (from rev 394914, latex2html/trunk/install-destdir.patch)
Deleted:
  latex2html/repos/extra-any/PKGBUILD
  latex2html/repos/extra-any/install-destdir.patch

-----------------------+
 PKGBUILD              |   80 ++++++++++++++++++++++++------------------------
 install-destdir.patch |   40 ++++++++++++------------
 2 files changed, 60 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-30 08:04:59 UTC (rev 394914)
+++ PKGBUILD	2020-08-30 08:05:09 UTC (rev 394915)
@@ -1,40 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Jochem Kossen <j.kossen at home.nl>
-# Contributor: Jason Chu <jason.archlinux.org>
-
-pkgname=latex2html
-pkgver=2019
-pkgrel=2
-pkgdesc="a convertor written in Perl that converts LaTeX documents to HTML."
-arch=('any')
-url="https://www.ctan.org/pkg/latex2html/"
-depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm')
-license=('GPL2')
-source=($pkgname-$pkgver.tar.gz::https://github.com/latex2html/latex2html/archive/v$pkgver.tar.gz
- install-destdir.patch)
-sha1sums=('60a7c8430927b35af11bcdd9db933a2636ae925c'
-          '7b654c41779b8387010b69abe4e5aa51d583c278')
-
-prepare() {
-        cd $pkgname-$pkgver
-        patch -Np0 -i "${srcdir}"/install-destdir.patch
-}
-
-build() {
-	cd $pkgname-$pkgver
-	./configure --prefix=/usr \
-	    --shlibdir=/usr/lib/$pkgname \
-	    --with-texpath=/usr/share/texmf/tex/latex/html \
-	    --enable-gif \
-	    --enable-png
-
-	make
-}
-
-package() {
-	cd $pkgname-$pkgver
-	make DESTDIR="${pkgdir}" install
-	
-	# set correct permission on executables
-#	chmod 755 "$pkgdir"/usr/bin/{pstoimg,texexpand,latex2html}
-}

Copied: latex2html/repos/extra-any/PKGBUILD (from rev 394914, latex2html/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-30 08:05:09 UTC (rev 394915)
@@ -0,0 +1,40 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jochem Kossen <j.kossen at home.nl>
+# Contributor: Jason Chu <jason.archlinux.org>
+
+pkgname=latex2html
+pkgver=2020.2
+pkgrel=1
+pkgdesc="a convertor written in Perl that converts LaTeX documents to HTML."
+arch=('any')
+url="https://www.ctan.org/pkg/latex2html/"
+depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm')
+license=('GPL2')
+source=($pkgname-$pkgver.tar.gz::https://github.com/latex2html/latex2html/archive/v$pkgver.tar.gz
+ install-destdir.patch)
+sha1sums=('5e5eaa1e3c32e6f65590177ec1dd3adaa21e7a13'
+          '7b654c41779b8387010b69abe4e5aa51d583c278')
+
+prepare() {
+        cd $pkgname-$pkgver
+        patch -Np0 -i "${srcdir}"/install-destdir.patch
+}
+
+build() {
+	cd $pkgname-$pkgver
+	./configure --prefix=/usr \
+	    --shlibdir=/usr/lib/$pkgname \
+	    --with-texpath=/usr/share/texmf/tex/latex/html \
+	    --enable-gif \
+	    --enable-png
+
+	make
+}
+
+package() {
+	cd $pkgname-$pkgver
+	make DESTDIR="${pkgdir}" install
+	
+	# set correct permission on executables
+#	chmod 755 "$pkgdir"/usr/bin/{pstoimg,texexpand,latex2html}
+}

Deleted: install-destdir.patch
===================================================================
--- install-destdir.patch	2020-08-30 08:04:59 UTC (rev 394914)
+++ install-destdir.patch	2020-08-30 08:05:09 UTC (rev 394915)
@@ -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 394914, latex2html/trunk/install-destdir.patch)
===================================================================
--- install-destdir.patch	                        (rev 0)
+++ install-destdir.patch	2020-08-30 08:05:09 UTC (rev 394915)
@@ -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