updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / draco / PKGBUILD
blobbbd393ddd68a48de62d97c42a8263efea25b15fa
1 # Contributor: Minh Nguyen <manehi at gmail dot com>
2 pkgname=draco
3 pkgver=1.4
4 pkgrel=1
5 pkgdesc="Java-based econometrics software from approximatrix"
6 url="http://approximatrix.com/products/draco/"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 depends=('java-runtime' 'bash')
10 source=("http://download.approximatrix.com/draco/$pkgname-R$pkgver.zip" "draco.sh")
11 md5sums=('33abb91a7d4814c9ee6b9ad3b9adca1e' '3c626ec11b89ab5652bf06df907929d0')
13 build() {
14 #       copy .jar files
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;