summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémy Oudompheng2017-11-09 21:23:24 +0000
committerRémy Oudompheng2017-11-09 21:23:24 +0000
commit50ee475c569f58c25f4af636c68ba71377c8d102 (patch)
treec237a88cd930217d2f275f7b0fb3d3de1dc2d196
parentf2cc7c2803c56858ec73f191e319b210d484d8b7 (diff)
downloadaur-50ee475c569f58c25f4af636c68ba71377c8d102.tar.gz
Upstream update.
-rw-r--r--PKGBUILD19
-rw-r--r--texinfo-5-fix.patch46
2 files changed, 8 insertions, 57 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 75709c29136e..c1640f02a001 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: John Proctor <jproctor@prium.net>
pkgname=latex2rtf
-pkgver=2.3.10
+pkgver=2.3.16
pkgrel=1
pkgdesc="LaTeX to RTF converter"
arch=('i686' 'x86_64')
@@ -11,15 +11,9 @@ license=('GPL')
depends=('glibc' 'imagemagick' 'ghostscript')
makedepends=('texinfo' 'texlive-bin' 'texlive-plainextra')
checkdepends=('texlive-latexextra') # for a4wide package
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- "texinfo-5-fix.patch")
-sha1sums=('aa6adc7d6c25658aed1bc0bb70cf0274f7a770aa'
- 'e5f2020004ba2aa428eabdce07f4a68ea11f3882')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/texinfo-5-fix.patch"
-}
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('79aff771ee014300606560f18fde74c9eb3a250d')
+md5sums=('a7e705af414753c01b04ff15bf4c0af6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -28,11 +22,14 @@ build() {
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
-# make check
+ sed -i 's,s/\\\\,s/\\\\\\,' test/bracecheck
+ chmod u+x test/bracecheck
+ make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/usr" install install-info
+ chmod 755 "${pkgdir}/usr/bin/latex2png"
sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' "${pkgdir}/usr/bin/latex2png"
}
diff --git a/texinfo-5-fix.patch b/texinfo-5-fix.patch
deleted file mode 100644
index 75c8af95f0e1..000000000000
--- a/texinfo-5-fix.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- latex2rtf-2.3.5.orig/doc/latex2rtf.texi 2013-11-12 11:24:58.000000000 +0100
-+++ latex2rtf-2.3.5/doc/latex2rtf.texi 2014-12-21 09:17:30.224252473 +0100
-@@ -1,7 +1,3 @@
--\def\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
--\def\LaTeXe{\LaTeX\kern.15em 2$_\varepsilon$}
--\def\BibTeX{B\kern-.05em{\sc i\kern-.025em b}\kern-.08em\TeX}
--
- \input texinfo
- @c -*-texinfo-*-
- @c %**start of header
-@@ -22,7 +18,7 @@
- LaTeX
- @end ifnottex
- @iftex
--@LaTeX{}
-+\\LaTeX{}
- @end iftex
- @end macro
-
-@@ -31,7 +27,7 @@
- BibTeX
- @end ifnottex
- @iftex
--@BibTeX{}
-+\\BibTeX{}
- @end iftex
- @end macro
-
-@@ -40,7 +36,7 @@
- LaTeX2e
- @end ifnottex
- @iftex
--@LaTeXe{}
-+\\LaTeXe{}
- @end iftex
- @end macro
-
-@@ -49,7 +45,7 @@
- LaTeX2RTF
- @end ifnottex
- @iftex
--@LaTeX{}2RTF
-+\\LaTeX{}2RTF
- @end iftex
- @end macro
-