1 # Maintainer: Estevao Valadao <estevao@archlinux-br.org>
2 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
4 pkgname=wingide-personal
8 pkgdesc="Wing IDE is the most advanced Python IDE available today. (low-cost edition - 30 days trial)"
9 url="http://www.wingware.com"
12 [ "$CARCH" == "i686" ] && _pkgarch=i386 || _pkgarch=$(arch)
13 source=("http://wingware.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux.tar.gz"
16 md5sums=('fbb5059c3c077f7b36ad7322c5df0c7c'
17 'b8e29bd47baf5c036b8cc462605ea1b8')
18 [ "$CARCH" == "i686" ] && md5sums=('cb79a403859c9371f110a61d2b394c23'
19 'b8e29bd47baf5c036b8cc462605ea1b8')
23 cd $srcdir/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux
24 install -d $pkgdir/opt/$pkgname $pkgdir/usr/bin \
25 $pkgdir/usr/share/applications $pkgdir/usr/share/pixmaps
26 tar -xC $pkgdir/opt/$pkgname -f binary-package-$pkgver-$pkgrel.tar
27 sed -e "s/^DIR=.*$/DIR=\/opt\/$pkgname/g" -i $pkgdir/opt/$pkgname/wing-personal
28 install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/
29 ln -s /opt/$pkgname/wing-personal $pkgdir/usr/bin/$pkgname
30 ln -s /opt/$pkgname/resources/wing128.png $pkgdir/usr/share/pixmaps/$pkgname.png