1 # Contributor: Jan Fader <jan.fader@web.de>
5 pkgdesc="MPM (MiKTeX Package Manager) was originally intended to be a tool for MiKTeX/Windows users. But the program can be helpful for users of other TeX systems too, because many of the MiKTeX packages are system-independent."
6 url="http://dojo.miktex.org/blogs/christian_schenk/articles/mpmunix.aspx"
9 depends=('curl' 'lynx' 'qt')
10 makedepends=('cmake' 'bison')
14 install="miktex.install"
15 source=(http://ftp.uni-erlangen.de/mirrors/CTAN/systems/win32/$pkgname/source/$pkgname-$pkgver.tar.bz2 miktex.sh)
18 cd $srcdir/$pkgname-$pkgver
20 cmake -G "Unix Makefiles" -D "CMAKE_INSTALL_PREFIX:PATH=/usr" .
22 make DESTDIR=$pkgdir install
23 mkdir -p $pkgdir/etc/profile.d/
24 install -o root -g root $srcdir/miktex.sh $pkgdir/etc/profile.d/
26 md5sums=('edfc0fce88d135ecd67fe893685e76c7' 'df2ee5230d0deca11d7eafb246af9f7d')