From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/hevea/PKGBUILD | 30 ++++++++++++++++++++++++++++++ community/hevea/hevea.install | 13 +++++++++++++ 2 files changed, 43 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..6a2b3397c --- /dev/null +++ b/community/hevea/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 83233 2013-01-28 14:16:05Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: Brian Nguyen +# Original Packager: Tom K + +pkgname=hevea +pkgver=2.02 +pkgrel=1 +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=('b0331fdf123c21ce02f15c890d268306') + +build() { + cd $srcdir/$pkgname-$pkgver + sed -i 's:usr/local:usr:' 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 +} 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