summaryrefslogtreecommitdiff
path: root/community/mimetex/PKGBUILD
blob: d6a7d73c683907daccab7f4c336d39e5af2e6290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pkgname=mimetex
pkgver=1.70
pkgrel=2
pkgdesc="tex to gif converter"
arch=(i686 x86_64 'mips64el')
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
}