summaryrefslogtreecommitdiff
path: root/community/texvc/PKGBUILD
blob: a1162031453e0b5384ec199fc13c421cfe409336 (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 'mips64el')
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.bc $pkgdir/usr/bin
}