1 # Contributor: Minh Nguyen <manehi at gmail dot com>
5 pkgdesc="Java-based econometrics software from approximatrix"
6 url="http://approximatrix.com/products/draco/"
9 depends=('java-runtime' 'bash')
10 source=("http://download.approximatrix.com/draco/$pkgname-R$pkgver.zip" "draco.sh")
11 md5sums=('33abb91a7d4814c9ee6b9ad3b9adca1e' '3c626ec11b89ab5652bf06df907929d0')
15 mkdir -p $pkgdir/usr/share/java/draco || return 1;
16 cp -r $srcdir/$pkgname-R$pkgver/lib/* $pkgdir/usr/share/java/draco || return 1;
17 ln -s $pkgname-$pkgver.jar $pkgdir/usr/share/java/draco/$pkgname.jar || return 1;
19 # ignore docs and example files
20 # cp -r $srcdir/$pkgname-R$pkgver/doc $pkgdir/usr/share/java/draco || return 1;
21 # cp -r $srcdir/$pkgname-R$pkgver/examples $pkgdir/usr/share/java/draco || return 1;
23 # install the launcher script
24 install -D -m 755 draco.sh $pkgdir/usr/bin/draco || return 1;