blob: e0106ec224e53d7e2dc69d10cff57d999c62b4b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: acxz <akashpatel2008 at yahoo dot com>
pkgname=xrotor
pkgver=7.55
pkgrel=2
pkgdesc="interactive program for the design and analysis of ducted and free-tip
propellers and windmills"
arch=('i686' 'x86_64')
url="https://web.mit.edu/drela/Public/web/xrotor/"
license=('GPL')
makedepends=('gcc-fortran')
depends=('gcc-libs' 'libx11')
source=('https://web.mit.edu/drela/Public/web/xrotor/Xrotor7.55.tar.tgz')
sha256sums=('7bee104afa0f81ce6ca7ce2205f65943b5e3650105507363f1a628bbca3a075b')
build() {
cd Xrotor/plotlib
cp config.make.gfortran config.make
make libPlt_gfortran.a
cd ../bin
sed -i '/FFLAGS/ s|$| -fallow-argument-mismatch|' Makefile.gfortran
cp Makefile.gfortran Makefile
make xrotor
make jplot
}
package() {
install -d "$pkgdir/usr/bin/"
install -m 0755 "${srcdir}/Xrotor/bin/xrotor" "$pkgdir/usr/bin/"
install -d "$pkgdir/usr/share/xrotor/"
install -m 0644 "${srcdir}/Xrotor/README" "$pkgdir/usr/share/xrotor/"
install -m 0644 "${srcdir}/Xrotor/version_notes.txt" "$pkgdir/usr/share/xrotor/"
install -m 0644 "${srcdir}/Xrotor/xrotor_doc.txt" "$pkgdir/usr/share/xrotor/"
}
|