diff options
Diffstat (limited to 'extra/latex2rtf')
-rw-r--r-- | extra/latex2rtf/PKGBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD index 9d2e25726..a9796f0b5 100644 --- a/extra/latex2rtf/PKGBUILD +++ b/extra/latex2rtf/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 66768 2010-02-01 11:56:05Z giovanni $ -# Maintainer: Jason Chu <jason@archlinux.org> +# $Id: PKGBUILD 119963 2011-04-17 22:11:07Z remy $ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> # Contributor: John Proctor <jproctor@prium.net> pkgname=latex2rtf -pkgver=2.0.0 +pkgver=2.1.0 pkgrel=1 pkgdesc="LaTeX to RTF converter" arch=('i686' 'x86_64') @@ -11,12 +11,15 @@ url="http://latex2rtf.sourceforge.net/" license=('GPL') depends=('glibc' 'imagemagick' 'ghostscript') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('39611b6dbb5ce78b48c7695f3fcafb88') +sha1sums=('31e6280312b56c2c38cf6a3fddff21a9910c7d6f') build() { cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=/usr +} - make PREFIX=/usr || return 1 - make PREFIX=${pkgdir}/usr MAN_INSTALL=${pkgdir}/usr/share/man/man1 install || return 1 +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=${pkgdir}/usr MAN_INSTALL=${pkgdir}/usr/share/man/man1 install sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' ${pkgdir}/usr/bin/latex2png } |