summaryrefslogtreecommitdiff
path: root/community/texvc/PKGBUILD
blob: 0133225bdfef9f3e31cc6689fc8c467cef9c0d54 (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
# $Id: PKGBUILD 96626 2013-09-02 13:37:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=texvc
pkgver=1.21
pkgrel=1
pkgdesc="tex to HTML/MathML/png converter used by mediawiki"
arch=(i686 x86_64)
url="http://www.mediawiki.org/wiki/Extension:Math"
license=("GPL")
depends=('imagemagick' 'ghostscript' 'texlive-core' 'texlive-latexextra')
makedepends=('ocaml' 'git')
source=(mediawiki-math-$pkgver::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${pkgver/./_})
md5sums=('SKIP')

build() {
  cd $srcdir/mediawiki-math-$pkgver/math
  make -j1
}

package() {
  cd $srcdir/mediawiki-math-$pkgver/math
  install -d -m 0755 $pkgdir/usr/bin
  install -m 0755 texvc $pkgdir/usr/bin
}