updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / impact / PKGBUILD
blob195da4728d8aa7cf2a52196a4ecb4db6f7c62ff0
1 # Contributor: Christoph Siegenthaler <csi@gmx.ch>
2 pkgname=impact
3 pkgver=0.7.1_mca
4 pkgrel=2
5 pkgdesc="impact is an open source finite element program suite (FEM)"
6 url="http://impact.sourceforge.net/"
7 depends=('j2re')
8 makedepends=('unzip')
9 source=(http://dl.sourceforge.net/sourceforge/${pkgname}/Impact-${pkgver}.zip impact)
10 md5sums=('0c6907bd8fa0517e37757c9361d411b0' 'd130a1c7da5d3b30bfdbd6f01fc7f9ce')
12 build(){
13         mkdir -p $startdir/pkg/usr/share/{doc,impact,pixmaps,licenses/impact}
14         mkdir -p $startdir/pkg/usr/bin
15         
16         cd $startdir/src/Impact 
17         install -m644 License.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
18         install -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
19         install -m644 *.png $startdir/pkg/usr/share/pixmaps
21         cp -r * $startdir/pkg/usr/share/$pkgname        
22         install -m755 $startdir/src/impact $startdir/pkg/usr/bin/