summaryrefslogtreecommitdiff
path: root/community/texvc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/texvc/PKGBUILD')
-rw-r--r--community/texvc/PKGBUILD17
1 files changed, 10 insertions, 7 deletions
diff --git a/community/texvc/PKGBUILD b/community/texvc/PKGBUILD
index 75f7fe4f2..c428dd131 100644
--- a/community/texvc/PKGBUILD
+++ b/community/texvc/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 73896 2012-07-16 14:22:08Z spupykin $
+# $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.19.1
-_svnrev=110614
+pkgver=1.20
pkgrel=1
pkgdesc="tex to HTML/MathML/png converter used by mediawiki"
arch=(i686 x86_64)
@@ -12,12 +11,16 @@ url="http://www.mediawiki.org/wiki/Extension:Math"
license=("GPL")
depends=('imagemagick' 'ghostscript' 'texlive-core' 'texlive-latexextra')
makedepends=('ocaml')
-source=(http://upload.wikimedia.org/ext-dist/Math-MW1.19-${_svnrev}.tar.gz)
-md5sums=('d5217e19c26bc08201f9fe6bec8722ff')
+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/Math/math
- make
+ 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
}