[arch-commits] Commit in hevea/trunk (PKGBUILD hevea.install)
Antonio Rojas
arojas at archlinux.org
Tue Dec 5 09:25:25 UTC 2017
Date: Tuesday, December 5, 2017 @ 09:25:24
Author: arojas
Revision: 272221
Update to 2.31
Modified:
hevea/trunk/PKGBUILD
Deleted:
hevea/trunk/hevea.install
---------------+
PKGBUILD | 18 ++++++++----------
hevea.install | 12 ------------
2 files changed, 8 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-05 09:15:56 UTC (rev 272220)
+++ PKGBUILD 2017-12-05 09:25:24 UTC (rev 272221)
@@ -1,10 +1,11 @@
# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer:
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
# Contributor: Brian Nguyen <bhnguyen at gmail.com>
# Original Packager: Tom K <tomk at runbox.com>
pkgname=hevea
-pkgver=2.30
+pkgver=2.31
pkgrel=1
pkgdesc="A quite complete and fast LATEX to HTML translator"
arch=(x86_64)
@@ -12,20 +13,17 @@
makedepends=('ocaml' 'ocamlbuild')
license=('GPL')
url="http://pauillac.inria.fr/~maranget/hevea/"
-install=hevea.install
source=(http://pauillac.inria.fr/~maranget/$pkgname/distri/$pkgname-$pkgver.tar.gz)
-sha256sums=('9e93deac8d2cc62a8d9eae2817094cdba81cabef264d009f3d434d85ab9a249c')
+sha256sums=('fbd7ad20aff45e557f5835f99a53d29a1753657cf2c004f26de83345b1b5b997')
build() {
- cd "$srcdir"/$pkgname-$pkgver
- sed -i 's:usr/local:usr:' Makefile
- make
+ cd $pkgname-$pkgver
+ make PREFIX=/usr
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- sed -i 's:/usr:$PREFIX:' config.sh
- make install PREFIX="$pkgdir"/usr
+ cd $pkgname-$pkgver
+ DESTDIR="$pkgdir" 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
}
Deleted: hevea.install
===================================================================
--- hevea.install 2017-12-05 09:15:56 UTC (rev 272220)
+++ hevea.install 2017-12-05 09:25:24 UTC (rev 272221)
@@ -1,12 +0,0 @@
-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."
-}
-
-post_upgrade() {
- post_install $1
-}
-
More information about the arch-commits
mailing list