summaryrefslogtreecommitdiff
path: root/community/texvc/PKGBUILD
blob: c428dd13126a83879a57f77faf90d470d2ec160c (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 85705 2013-03-05 09:48:36Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=texvc
pkgver=1.20
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')
source=(mediawiki-math-1.20.tar.gz::https://nodeload.github.com/wikimedia/mediawiki-extensions-Math/legacy.tar.gz/REL${pkgver/./_})
md5sums=('ee8fceb0a86f2972409104767406591c')

build() {
  cd $srcdir/wikimedia-mediawiki-extensions-Math-*/math
  make -j1
}

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