public
Created

  • Download Gist
wingide 4.0.0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
# Contributor: Qiang Sun <sunqiang@gmail.com>
 
pkgname=wingide
pkgver=4.0.0
_pkgrel=1
pkgrel=1
pkgdesc="Wing IDE is the most advanced Python IDE available today. (full edition - 30 days trial)"
url="http://www.wingware.com"
license=("custom")
arch=(i686 x86_64)
[ "$CARCH" == "i686" ] && _pkgarch=i386 || _pkgarch=$(arch)
source=("http://wingware.com/pub/$pkgname/$pkgver/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux.tar.gz"
"$pkgname.desktop")
options=(!strip)
md5sums=('5e916dc6bee76467bf4c1180f5d7830b'
'9b54e2824d79a5ce0823a525a9863790')
[ "$CARCH" == "i686" ] && md5sums=('ba65a035ff8fe66778a2393add28bc90'
'9b54e2824d79a5ce0823a525a9863790')
 
build()
{
cd $srcdir/$pkgname-$pkgver-$_pkgrel-$_pkgarch-linux
install -d $pkgdir/opt/$pkgname $pkgdir/usr/bin \
$pkgdir/usr/share/applications $pkgdir/usr/share/pixmaps
tar -xC $pkgdir/opt/$pkgname -f binary-package-$pkgver-$_pkgrel.tar
sed -e "s/^DIR=.*$/DIR=\/opt\/$pkgname/g" -i $pkgdir/opt/$pkgname/wing
install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/
ln -s /opt/$pkgname/wing $pkgdir/usr/bin/$pkgname
ln -s /opt/$pkgname/resources/wing128.png $startdir/pkg/usr/share/pixmaps/$pkgname.png
}
 
# vim:syntax=sh

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.