summaryrefslogtreecommitdiff
path: root/community/linuxdoc-tools/PKGBUILD
blob: 22c533374510c384c0a77eb1748bd5ab9fad2a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}