From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/hevea/PKGBUILD | 28 ++++++++++++++++++++++++++++ community/hevea/hevea.install | 13 +++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 community/hevea/PKGBUILD create mode 100644 community/hevea/hevea.install (limited to 'community/hevea') diff --git a/community/hevea/PKGBUILD b/community/hevea/PKGBUILD new file mode 100644 index 000000000..d1d9e3136 --- /dev/null +++ b/community/hevea/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 25738 2010-09-10 11:55:56Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Brian Nguyen +# Original Packager: Tom K + +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 +} diff --git a/community/hevea/hevea.install b/community/hevea/hevea.install new file mode 100644 index 000000000..73059e5df --- /dev/null +++ b/community/hevea/hevea.install @@ -0,0 +1,13 @@ +post_install() { + echo "HEVEA is fully functional when other software are installed:" + echo "* A modern LaTeX installation including dvips." + echo "* The ghostscript PostScript interpreter." + echo "* The netpbm image processing package." + echo "However, these are optional and hevea runs without them." + texhash +} + +post_upgrade() { + post_install $1 +} + -- cgit v1.2.3-54-g00ecf