1 # Contributor: Jan Reucker <jan dot reucker at web dot de>
5 pkgdesc="Program for aerodynamic and flight-dynamic analysis."
7 url="http://web.mit.edu/drela/Public/web/avl/"
9 depends=('gcc-libs' 'libxcb' 'libx11' 'glib2' 'libxau' 'libxdmcp')
10 makedepends=('pkgconfig' 'gcc-fortran' 'coreutils' 'make')
11 source=("http://web.mit.edu/drela/Public/web/avl/${pkgname}${pkgver}.tar.gz"
12 'avl_archlinux.patch')
13 md5sums=('c2ea3256d3d4351d8d8a3e76cf8a8a37'
14 'a7f20b623a3d636001ba462697d3389f')
17 cd "${startdir}/src/Avl"
18 patch -p1 -i ${startdir}/src/avl_archlinux.patch || return 1
19 cd "${startdir}/src/Avl/plotlib"
21 cd "${startdir}/src/Avl/eispack"
23 cd "${startdir}/src/Avl/bin"
25 install -d "${startdir}/pkg/usr/bin"
26 install avl "${startdir}/pkg/usr/bin"