summaryrefslogtreecommitdiff
path: root/community/linuxdoc-tools/PKGBUILD
blob: 0803976ebd398721c8aa5142b799728246d7acc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: David Ell <david at bytesizebits dot net>

pkgname=linuxdoc-tools
pkgver=0.9.69
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}.orig.tar.gz)
md5sums=('1d13d500918a7a145b0edc2f16f61dd1')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  sed -i '/extern int yyleng;/d' rtf-fix/rtf2rtf.l
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}