updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / miktex / PKGBUILD
blob3618e96e71a4de749a8f3b0c5a22168886eb1765
1 # Contributor: Jan Fader <jan.fader@web.de>
2 pkgname=miktex
3 pkgver=2.8.3541
4 pkgrel=2
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"
7 arch=('i686')
8 license=('GPL')
9 depends=('curl' 'lynx' 'qt')
10 makedepends=('cmake' 'bison')
11 conflicts=()
12 replaces=()
13 backup=()
14 install="miktex.install"
15 source=(http://ftp.uni-erlangen.de/mirrors/CTAN/systems/win32/$pkgname/source/$pkgname-$pkgver.tar.bz2 miktex.sh)
17 build() {
18   cd $srcdir/$pkgname-$pkgver
19   unset LDFLAGS
20   cmake -G "Unix Makefiles" -D "CMAKE_INSTALL_PREFIX:PATH=/usr" .
21   make
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')