1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Chris Baker <baker.chris.3@gmail.com>
8 pkgdesc="Multi-platform text editor with features that aid in code development"
10 url="http://$pkgname.org/"
11 license=('custom:wxWindows')
12 depends=('wxpython' 'python2-distribute' 'desktop-file-utils')
13 install="$pkgname.install"
14 source=("${url}uploads/src/$_pkg-$pkgver.tar.gz"
16 md5sums=('80d07285c68ac18dbeb172fa48a66486'
17 '6082f8d4bf1650af8ce87c6b3d38053b')
20 cd "$srcdir/$_pkg-$pkgver"
22 python2 setup.py build
26 cd "$srcdir/$_pkg-$pkgver"
28 python2 setup.py install --root="$pkgdir/"
30 # prevent conflicts with wxpython
31 mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$_pkg"
34 install -Dm644 ../${source[1]} "$pkgdir/usr/share/applications/${source[1]}"
35 install -Dm644 pixmaps/$pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
38 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
41 sed -i "s|\(^\#\!.*python\).*|\12|" `grep -rl "\#\!.*python" "$pkgdir"`