summaryrefslogtreecommitdiff
path: root/community/hevea/PKGBUILD
blob: d1d9e3136ad40b791a1ccfc0851d71cf698713a7 (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
28
# $Id: PKGBUILD 25738 2010-09-10 11:55:56Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Brian Nguyen <bhnguyen@gmail.com>
# Original Packager: Tom K <tomk@runbox.com>

pkgname=hevea
pkgver=1.10
pkgrel=2
pkgdesc="A quite complete and fast LATEX to HTML translator"
arch=(i686 x86_64)
depends=('ocaml')
license=('GPL')
url="http://pauillac.inria.fr/~maranget/hevea/"
install=hevea.install
source=(http://pauillac.inria.fr/~maranget/$pkgname/distri/$pkgname-$pkgver.tar.gz)
md5sums=('24a631570bee3cc4b8350e9db39be62b')

build() {
  cd $srcdir/$pkgname-$pkgver

  sed -i 's:usr/local:usr:' Makefile
  make || return 1

  sed -i "s:DESTDIR=.*:DESTDIR=$pkgdir:" Makefile config.sh
  make install
  mkdir -p $pkgdir/usr/share/texmf/tex/latex
  ln -s /usr/lib/hevea/hevea.sty $pkgdir/usr/share/texmf/tex/latex/hevea.sty
}