2 # Maintainer: Francois Boulogne <fboulogne at april dot org>
3 pkgname=surface-evolver
6 pkgdesc="Interactive program for the modelling of liquid surfaces shaped by various forces and constraints"
8 url="http://www.susqu.edu/brakke/evolver/evolver.html"
11 depends=("readline" "ncurses" "freeglut")
13 source=(http://www.susqu.edu/brakke/aux/downloads/evolver-$pkgver.tar.gz)
14 md5sums=('ddfdfd38cd44363c032c9974bdebce5b')
20 sed -i "3i\CFLAGS= -DLINUX -DOOGL -DUSE_READLINE -DPTHREADS" Makefile
21 sed -i "4i\GRAPH= glutgraph.o" Makefile
22 sed -i "5i\GRAPHLIB= -lreadline -lcurses -lGL -lGLU -lglut -lpthread -L/usr/X11R6/lib -L/usr/lib/curses-lXi -lXmu -lX11" Makefile
30 install -d -m755 "$pkgdir/usr/bin/" "$pkgdir/usr/share/man/"
31 install -D -m755 "$srcdir/src/evolver" "$pkgdir/usr/bin/"
32 install -D -m755 "$srcdir/evolver.1" "$pkgdir/usr/share/man/"
35 # vim:set ts=2 sw=2 et: