1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
7 pkgdesc="Powerful Python and Django IDE. 30-day free trial."
9 url="http://www.jetbrains.com/pycharm/"
10 license=('Commercial')
11 depends=('java-environment>=6')
12 source=(http://download.jetbrains.com/python/$pkgname-$pkgver.tar.gz)
13 sha1sums=('6d1564b398fcf1e8240fd67a58d745b439d79846')
17 mkdir -p $pkgdir/opt/$pkgname || return 1
18 cp -R $srcdir/$pkgname-$pkgver/* $pkgdir/opt/$pkgname || return 1
19 if [[ $CARCH = 'i686' ]]; then
20 rm -f $pkgdir/opt/$pkgname/bin/libyjpagent64.so
21 rm -f $pkgdir/opt/$pkgname/bin/fsnotifier64
30 GenericName=Develop with pleasure!
31 Comment=Powerful Python and Django IDE 30-day free trial
32 Exec=/opt/$pkgname/bin/pycharm.sh
35 Categories=Development
37 ) > $startdir/pycharm.desktop
39 mkdir -p $pkgdir/usr/share/applications/ || return 1
40 mkdir -p $pkgdir/usr/share/pixmaps/ || return 1
41 mkdir -p $pkgdir/usr/share/licenses/$pkgname/ || return 1
42 install -Dm644 $startdir/pycharm.desktop $pkgdir/usr/share/applications/
43 install -Dm644 $pkgdir/opt/$pkgname/bin/PyCharm_48.png $pkgdir/usr/share/pixmaps/pycharm.png
44 install -Dm644 $srcdir/$pkgname-$pkgver/license/PyCharm_license.txt $pkgdir/usr/share/licenses/$pkgname/PyCharm_license.txt
47 # vim:set ts=2 sw=2 et: