updated on Tue Jan 24 12:00:22 UTC 2012
[aur-mirror.git] / eclipsetrader / PKGBUILD
blob20c01c3d67e091fe47341af9918cabb162ee2181
1 # Contributor: Piotr Beling <qwak@w8.pl>
3 pkgname=eclipsetrader
4 pkgver=0.30.0
5 pkgrel=2
6 pkgdesc="Stock exchange analysis system, featuring shares pricing watch, intraday and history charts with technical analysis indicators, level II/market depth view, news watching, automated trading systems, integrated trading."
7 arch=('i686' 'x86_64')
8 url="http://eclipsetrader.sourceforge.net/"
9 depends=(jre gtk2)
10 md5sums=('423d8b1fe4a1bc6ee4c11290cefc5b24'
11          '1e3c6d5b4982ef2868facf845056db86')
12 _arch=x86
13 if [ "$CARCH" = "x86_64" ]; then
14     md5sums[0]='b19c02fbde6bf294e83aa234985a1c49'
15     _arch=x86_64
17 license=('CPL' 'EPL')
18 source=(http://downloads.sourceforge.net/eclipsetrader/eclipsetrader-${pkgver}.linux.gtk.${_arch}.zip
19         eclipsetrader.desktop)
20 install=update_desktop.install
22 build() {
23     local dstdir=$pkgdir/usr/share      || return 1
24     install -d $dstdir                  || return 1
25     mv $srcdir/$pkgname $dstdir         || return 1
26     install -D -m644 $srcdir/eclipsetrader.desktop $pkgdir/usr/share/applications/eclipsetrader.desktop