summaryrefslogtreecommitdiff
path: root/extra/latex2rtf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/latex2rtf/PKGBUILD')
-rw-r--r--extra/latex2rtf/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD
index ffdbb3d13..c7d15c6c7 100644
--- a/extra/latex2rtf/PKGBUILD
+++ b/extra/latex2rtf/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 164721 2012-08-04 06:54:39Z remy $
+# $Id: PKGBUILD 171488 2012-11-18 03:22:38Z eric $
# Maintainer: Rémy Oudompheng <remy@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=latex2rtf
pkgver=2.2.1c
-pkgrel=1
+pkgrel=2
pkgdesc="LaTeX to RTF converter"
arch=('i686' 'x86_64')
url="http://latex2rtf.sourceforge.net/"
@@ -15,12 +15,13 @@ checkdepends=(
'texlive-core'
'texlive-latexextra' # for a4wide package
)
+install=latex2rtf.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('3fd5874de8988cf45f8862d2b3db8ed13a04caa4')
build() {
cd "${srcdir}/${pkgname}-2.2.1"
- make
+ make DESTDIR=/usr
}
check() {
@@ -30,6 +31,6 @@ check() {
package() {
cd "${srcdir}/${pkgname}-2.2.1"
- make DESTDIR=${pkgdir}/usr install
- sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' ${pkgdir}/usr/bin/latex2png
+ make DESTDIR="${pkgdir}/usr" install install-info
+ sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' "${pkgdir}/usr/bin/latex2png"
}