summaryrefslogtreecommitdiff
path: root/community/mimetex/PKGBUILD
blob: e6ceb75dec5a3e9b8379e5834300ed477335bc50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $Id: PKGBUILD 59132 2011-11-21 12:05:32Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

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=()
source=(ftp://ftp.archlinux.org/other/community/mimetex/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
}