blob: 804a2db52033897d54a8318522e17abcf4b55922 (
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
27
28
29
30
31
32
|
# $Id: PKGBUILD 102438 2013-12-11 10:30:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=texvc
pkgver=1.22
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/./_})
source=("mediawiki-math-${_basever}.tar.gz::https://codeload.github.com/wikimedia/mediawiki-extensions-Math/legacy.tar.gz/REL${pkgver/./_}")
md5sums=('b595f6a32b2380040ce5401701a6a3a2')
prepare() {
cd $srcdir
mv wikimedia-mediawiki-extensions-Math-b3ad6b9 mediawiki-math-$pkgver
}
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
}
|