blob: 9d2e2572655b0e5d8bca77cd95dfde10f1fbb97c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $Id: PKGBUILD 66768 2010-02-01 11:56:05Z giovanni $
# Maintainer: Jason Chu <jason@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
pkgname=latex2rtf
pkgver=2.0.0
pkgrel=1
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=('39611b6dbb5ce78b48c7695f3fcafb88')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr || return 1
make PREFIX=${pkgdir}/usr MAN_INSTALL=${pkgdir}/usr/share/man/man1 install || return 1
sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' ${pkgdir}/usr/bin/latex2png
}
|