1 # Maintainer: totoloco <totoloco at gmx dot com>
5 pkgdesc="an environment designed to help you learn computer programming using the language Python"
7 url="http://code.google.com/p/rur-ple/"
9 depends=(python2 wxpython)
10 source=(http://rur-ple.googlecode.com/files/$pkgname-$pkgver.zip $pkgname)
11 md5sums=('28adf529d4462b50915fdb83adf44dc5'
12 '5f8e1debbde73fbc47929b2af38e49c3')
15 cd "$srcdir/$pkgname-$pkgver"
16 sed -ri '/^wxversion\.select\(/d' rur_start.py
18 # give errors with -exec u.u
19 find . -type d -name '.svn' -print | xargs rm -Rf
20 # remove execute permissions
21 find . -type f -exec chmod -x {} \;
25 cd "$srcdir/$pkgname-$pkgver"
27 mkdir -p "$pkgdir/usr/share"
28 mv "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/share/$pkgname"
29 install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
32 # vim:set ts=2 sw=2 et: