1 # Maintainer: Marek Otahal <markotahal gmail>
2 # Contributor: Marek Otahal
6 pkgdesc="Java Neural Network Simulator-create, test, validate, represent neural network problems in a nice GUI"
8 url="http://www.ra.cs.uni-tuebingen.de/software/JavaNNS/"
10 install=javanns.install
11 makedepends=('tar' 'wget')
12 depends=('java-runtime>=1.3')
15 md5sums=('1338402701874ac171e572313d8c0376'
16 '1f88b48126c3a68c9eba91aacf42fb00')
21 if [ ${CARCH} == "x86_64" ]; then
22 wget "http://www.ra.cs.uni-tuebingen.de/downloads/JavaNNS/JavaNNS-LinuxAMD64.tar.gz"
24 wget "http://www.ra.cs.uni-tuebingen.de/downloads/JavaNNS/JavaNNS-LinuxIntel.tar.gz"
27 msg "Found game package, installing..."
29 tar xvf JavaNNS-LinuxIntel.tar.gz
34 install -d "${pkgdir}/usr/bin" \
35 "${pkgdir}/usr/share/doc/$pkgname" \
36 "${pkgdir}/usr/share/applications" \
37 "${pkgdir}/opt/javanns"
39 install -m755 javanns "$pkgdir/usr/bin/"
40 install -d examples manual "${pkgdir}/opt/javanns"
41 install -m644 JavaNNS.jar "${pkgdir}/opt/javanns"
42 install -m644 "${srcdir}/javanns.desktop" \
43 "${pkgdir}/usr/share/applications/javanns.desktop"
45 ln -s /opt/javanns/examples $pkgdir/usr/share/doc/javanns/examples
46 ln -s /opt/javanns/manual $pkgdir/usr/share/doc/javanns/manual
49 # vim: set noet ff=unix: