pkgname=mimetex pkgver=1.70 pkgrel=2 pkgdesc="tex to gif converter" arch=(i686 x86_64) url="http://www.forkosh.com/mimetex.html" license=('GPL') depends=(glibc) source=(http://arch.pp.ru/~sergej/dl/mimetex.zip) md5sums=('c73b1dde70526edb137daaf72189024b') build() { cd $srcdir gcc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi && \ install -D -m0755 mimetex.cgi $pkgdir/usr/bin/mimetex.cgi }