blob: 9fcc51e37d89e1281cc1beeaa207e8267d558322 (
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
29
30
31
|
# $Id: PKGBUILD 83233 2013-01-28 14:16:05Z 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=2.02
pkgrel=1
pkgdesc="A quite complete and fast LATEX to HTML translator"
arch=(i686 x86_64 'mips64el')
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=('b0331fdf123c21ce02f15c890d268306')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i 's:usr/local:usr:' Makefile
[ "$CARCH" = "mips64el" ] && (sed -i 's:TARGET=opt:TARGET=byte:' Makefile)
make
}
package() {
cd $srcdir/$pkgname-$pkgver
sed -i 's:/usr:$PREFIX:' config.sh
make install PREFIX=$pkgdir/usr
mkdir -p $pkgdir/usr/share/texmf/tex/latex
ln -s /usr/lib/hevea/hevea.sty $pkgdir/usr/share/texmf/tex/latex/hevea.sty
}
|