[arch-commits] Commit in latex2html/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Wed Jul 30 08:41:49 UTC 2014


    Date: Wednesday, July 30, 2014 @ 10:41:48
  Author: ronald
Revision: 218366

upgpkg: latex2html 2012-1

update to version 2012; split out prepare() function

Modified:
  latex2html/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-30 08:32:11 UTC (rev 218365)
+++ PKGBUILD	2014-07-30 08:41:48 UTC (rev 218366)
@@ -4,8 +4,8 @@
 # Contributor: Jason Chu <jason.archlinux.org>
 
 pkgname=latex2html
-pkgver=2008
-pkgrel=2
+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/"
@@ -12,14 +12,18 @@
 depends=('perl' 'ghostscript' 'texlive-core' 'libpng' 'giflib' 'netpbm')
 install=$pkgname.install
 license=('GPL2')
-source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tar.gz
+source=(http://mirrors.ctan.org/support/${pkgname}/$pkgname-$pkgver.tgz
  install-destdir.patch)
-md5sums=('275ab6cfa8ca9328446b7f40d8dc302e'
-         '5b77601b36abca4fff3e2f75ccf15499')
+sha1sums=('54b42d3fb812b0bf3d25bbde7e0ea2daf84e69ff'
+          '7b654c41779b8387010b69abe4e5aa51d583c278')
 
+prepare() {
+        cd $srcdir/$pkgname-$pkgver
+        patch -Np0 -i ${srcdir}/install-destdir.patch
+}
+
 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 \




More information about the arch-commits mailing list