diff options
Diffstat (limited to 'community/texvc/PKGBUILD')
-rw-r--r-- | community/texvc/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/texvc/PKGBUILD b/community/texvc/PKGBUILD new file mode 100644 index 000000000..c428dd131 --- /dev/null +++ b/community/texvc/PKGBUILD @@ -0,0 +1,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 +} |