updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / surface-evolver / PKGBUILD
blobd7cde89432a108a0526cdf523018ed8b692254ab
2 # Maintainer: Francois Boulogne <fboulogne at april dot org>
3 pkgname=surface-evolver
4 pkgver=2.30c
5 pkgrel=2
6 pkgdesc="Interactive program for the modelling of liquid surfaces shaped by various forces and constraints"
7 arch=(i686)
8 url="http://www.susqu.edu/brakke/evolver/evolver.html"
9 license=('custom')
10 groups=()
11 depends=("readline" "ncurses" "freeglut")
12 makedepends=()
13 source=(http://www.susqu.edu/brakke/aux/downloads/evolver-$pkgver.tar.gz)
14 md5sums=('ddfdfd38cd44363c032c9974bdebce5b')
17 build() {
18   cd "$srcdir/src"
19   rm -f *.o
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
25   make
29 package() {
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: