summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e7c6a1ba5175220dfa739f8d05c4955cdfd8cc22 (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
# Maintainer: Ricardo Leuck <leuck dot r at gmail dot com>
pkgname=frame3dd
pkgver=0.20140514plus
pkgrel=1
pkgdesc="Free open-source software for static and dynamic structural analysis of 2D and 3D frames and trusses."
arch=('i686' 'x86_64')
url="http://frame3dd.sourceforge.net/"
license=('GPL3')
depends=()
optdepends=('gnuplot: plot results')
source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/0.20140514+/Frame3DD_20140514+_src.zip)
md5sums=('143ae3cc6cec9057be081509148834a7')

build() {
	cd "$srcdir/Frame3DD/src"
	make
}

package() {
	# uncomment the next lines if you want the docs and examples
	# cd "$srcdir/$pkgname-$pkgver"
	# mkdir -p $pkgdir/usr/share/doc/$pkgname
	# cp -r -t $pkgdir/usr/share/doc/$pkgname doc examples

	cd "$srcdir/Frame3DD/src"
	mkdir -p $pkgdir/usr/bin
	cp frame3dd $pkgdir/usr/bin/

}