1 # Maintainer: Diogo Baeder <diogobaeder at yahoo dot com dot br>
2 # Contributor: Andreas Schönfelder <passtschu at freenet dot de>
3 # Contributor: Estevao Valadao <estevao@archlinux-br.org>
9 pkgdesc="Wing IDE is the most advanced Python IDE available today."
10 url="http://www.wingware.com"
13 [ "$CARCH" == "i686" ] && _pkgarch=i386 || _pkgarch=$(arch)
14 source=("http://wingware.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux.tar.gz"
17 md5sums=('0070fdbd84f4aa5e1e5a2abc80106ee1'
18 '9b54e2824d79a5ce0823a525a9863790')
19 [ "$CARCH" == "i686" ] && md5sums=('d3be750bad2a9f0d76f02317f59af06d'
20 '9b54e2824d79a5ce0823a525a9863790')
24 cd $srcdir/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux
25 install -d $pkgdir/opt/$pkgname $pkgdir/usr/bin \
26 $pkgdir/usr/share/applications $pkgdir/usr/share/pixmaps
27 tar -xC $pkgdir/opt/$pkgname -f binary-package-$pkgver-$_pkgrel.tar
28 sed -e "s/^DIR=.*$/DIR=\/opt\/$pkgname/g" -i $pkgdir/opt/$pkgname/wing
29 install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/
30 ln -s /opt/$pkgname/wing $pkgdir/usr/bin/$pkgname
31 ln -s /opt/$pkgname/resources/wing128.png $startdir/pkg/usr/share/pixmaps/$pkgname.png