1 # Contributor: gucong <gucong43216@gmail.com>
6 pkgdesc="A multi-agent programmable modeling environment."
8 [ "$CARCH" = "i686" ] && NARCH=amd64
9 [ "$CARCH" = "x86_64" ] && NARCH=x86
10 license=('LGPL' 'custom')
11 url="http://ccl.northwestern.edu/netlogo/"
12 depends=('java-runtime')
13 source=(http://ccl.northwestern.edu/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
18 md5sums=('0b89d0c3d02d385446259acf3c7e1d14'
19 '6aa5963c9454a4e35fda52dc7dc7e3cc'
20 'd66e6d07949e50f0af079f6c852cc64a'
21 '57b493124e71631afe38662e40a5637f'
22 '2404fc7bd1745a50b851f8871ebe8348')
25 mkdir -p $pkgdir/usr/bin $pkgdir/opt/$pkgname
27 find $pkgname-$pkgver -type d -name Linux-$NARCH | xargs rm -r
28 cp $pkgname-$pkgver/* $pkgdir/opt/$pkgname -r
29 cp netlogo hubnet netlogo-3D netlogo-headless $pkgdir/usr/bin