# $Id: PKGBUILD 47871 2009-07-28 13:22:31Z francois $ # Maintainer: Jason Chu # Contributor: John Proctor pkgname=latex2rtf pkgver=1.9.19 pkgrel=2 pkgdesc="LaTeX to RTF converter" arch=('i686' 'x86_64') url="http://latex2rtf.sourceforge.net/" license=('GPL') depends=('glibc' 'imagemagick' 'ghostscript') source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz) md5sums=('8a3b920d59f6b38736aa256c26374472') build() { cd $startdir/src/$pkgname-$pkgver make PREFIX=/usr || return 1 make PREFIX=$startdir/pkg/usr MAN_INSTALL=$startdir/pkg/usr/share/man/man1 install sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' $startdir/pkg/usr/bin/latex2png }