diff options
author | Rémy Oudompheng | 2014-12-21 08:44:08 +0000 |
---|---|---|
committer | Rémy Oudompheng | 2014-12-21 08:44:08 +0000 |
commit | 150a2fc0c05b00a4c21b9ec89ffbcbf7f1db2e39 (patch) | |
tree | a3149ecf236b42273bcb6afdc99c0995796bdb6e | |
parent | 516a11fd28455f834345b9dd9afa90724a48bc8f (diff) | |
download | aur-150a2fc0c05b00a4c21b9ec89ffbcbf7f1db2e39.tar.gz |
upgpkg: 2.3.8-1
-rw-r--r-- | PKGBUILD | 20 | ||||
-rw-r--r-- | texinfo-5-fix.patch | 46 |
2 files changed, 58 insertions, 8 deletions
@@ -2,21 +2,25 @@ # Contributor: John Proctor <jproctor@prium.net> pkgname=latex2rtf -pkgver=2.3.3 +pkgver=2.3.8 pkgrel=1 pkgdesc="LaTeX to RTF converter" arch=('i686' 'x86_64') url="http://latex2rtf.sourceforge.net/" license=('GPL') depends=('glibc' 'imagemagick' 'ghostscript') -checkdepends=( - 'texlive-bin' - 'texlive-core' - 'texlive-latexextra' # for a4wide package -) +makedepends=('texinfo' 'texlive-bin' 'texlive-plainextra') +checkdepends=('texlive-latexextra') # for a4wide package install=latex2rtf.install -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha1sums=('85dd36e8595f92f41b0b173a6b42279333bbb1a9') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" + "texinfo-5-fix.patch") +sha1sums=('334de546342078c7a3213cb5b554a0a900952641' + 'e5f2020004ba2aa428eabdce07f4a68ea11f3882') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/texinfo-5-fix.patch" +} build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/texinfo-5-fix.patch b/texinfo-5-fix.patch new file mode 100644 index 000000000000..75c8af95f0e1 --- /dev/null +++ b/texinfo-5-fix.patch @@ -0,0 +1,46 @@ +--- 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 + |