summaryrefslogtreecommitdiff
path: root/community/linuxdoc-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/linuxdoc-tools/PKGBUILD')
-rw-r--r--community/linuxdoc-tools/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/linuxdoc-tools/PKGBUILD b/community/linuxdoc-tools/PKGBUILD
new file mode 100644
index 000000000..22c533374
--- /dev/null
+++ b/community/linuxdoc-tools/PKGBUILD
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: David Ell <david at bytesizebits dot net>
+
+pkgname=linuxdoc-tools
+pkgver=0.9.68
+pkgrel=1
+pkgdesc="Convert LinuxDoc SGML source into other formats"
+arch=('i686' 'x86_64')
+url="http://packages.debian.org/sid/linuxdoc-tools"
+license=('GPL')
+depends=('jade')
+optdepends=('groff' 'texlive-bin')
+source=(http://ftp.de.debian.org/debian/pool/main/l/${pkgname}/${pkgname}_${pkgver}.tar.gz)
+md5sums=('68434f800ab3b68f44da790cc61cf766')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i '/extern int yyleng;/d' rtf-fix/rtf2rtf.l
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+ make DESTDIR="$pkgdir/" install
+}