summaryrefslogtreecommitdiff
path: root/extra/latex2rtf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/latex2rtf/PKGBUILD')
-rw-r--r--extra/latex2rtf/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD
new file mode 100644
index 000000000..e80c4c714
--- /dev/null
+++ b/extra/latex2rtf/PKGBUILD
@@ -0,0 +1,25 @@
+# $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.1.0
+pkgrel=1
+pkgdesc="LaTeX to RTF converter"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://latex2rtf.sourceforge.net/"
+license=('GPL')
+depends=('glibc' 'imagemagick' 'ghostscript')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha1sums=('31e6280312b56c2c38cf6a3fddff21a9910c7d6f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX=/usr
+}
+
+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
+}