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

pkgname=mimetex
pkgver=1.70
pkgrel=3
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
}