updated on Tue Jan 17 00:10:10 UTC 2012
[aur-mirror.git] / idlex / PKGBUILD
blob785d991ee5ee4f17e174be5cb078d378425604f1
1 # Maintainer: Christian Holme <cholme at gmx dot com>
3 pkgname=idlex
4 pkgver=0.5
5 pkgrel=2
6 pkgdesc="Extensions to IDLE, the Python IDE"
7 arch=('i686' 'x86_64')
8 url=("http://idlex.sourceforge.net/")
9 license=('custom')
10 depends=('python')
11 source=('http://sourceforge.net/projects/idlex/files/idlex-latest.zip'
12         'http://idlex.sourceforge.net/license.txt')
13 md5sums=('c0a7900b64ddff1678d4cbfb7c624b58'
14          'd9fea7c37e1a153dc8f83d5411d2e7ef')
16 package() {
17     mkdir -p $pkgdir/usr/lib/python3.2/idlexlib
18     mkdir -p $pkgdir/usr/bin
20 cat <<-EOF > $pkgdir/usr/bin/idlex
21 #!/bin/sh
22 python /usr/lib/python3.2/idlexlib/idlex.py $*
23 EOF
24 # Yes, I know this is ugly. If you have a better idea, please tell me!
25 # Thanks to Roger Serwy for making it a little better by passing the
26 # commandline arguments to idlex.
28     cp -r $srcdir/$pkgname-$pkgver/* $pkgdir/usr/lib/python3.2/idlexlib/
29     chmod -R 755 $pkgdir