[arch-commits] Commit in latex2html/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Feb 16 19:53:25 UTC 2019
Date: Saturday, February 16, 2019 @ 19:53:24
Author: arojas
Revision: 346383
Update to 2019
Modified:
latex2html/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-16 19:37:47 UTC (rev 346382)
+++ PKGBUILD 2019-02-16 19:53:24 UTC (rev 346383)
@@ -3,25 +3,25 @@
# Contributor: Jason Chu <jason.archlinux.org>
pkgname=latex2html
-pkgver=2017.2
-pkgrel=3
+pkgver=2019
+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
+source=($pkgname-$pkgver.tar.gz::https://github.com/latex2html/latex2html/archive/v$pkgver.tar.gz
install-destdir.patch)
-sha1sums=('ed00007b1dc6d92fe4f3e4f60ebb7746408ef408'
+sha1sums=('60a7c8430927b35af11bcdd9db933a2636ae925c'
'7b654c41779b8387010b69abe4e5aa51d583c278')
prepare() {
- cd $srcdir/$pkgname-$pkgver
- patch -Np0 -i ${srcdir}/install-destdir.patch
+ cd $pkgname-$pkgver
+ patch -Np0 -i "${srcdir}"/install-destdir.patch
}
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr \
--shlibdir=/usr/lib/$pkgname \
--with-texpath=/usr/share/texmf/tex/latex/html \
@@ -32,12 +32,9 @@
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=${pkgdir} install
+ cd $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
+# chmod 755 "$pkgdir"/usr/bin/{pstoimg,texexpand,latex2html}
}
More information about the arch-commits
mailing list