updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / rur-ple / PKGBUILD
blob0e5734feb9b7be61228d0131d409a202b1520a81
1 # Maintainer: totoloco <totoloco at gmx dot com>
2 pkgname=rur-ple
3 pkgver=1.0.1
4 pkgrel=2
5 pkgdesc="an environment designed to help you learn computer programming using the language Python"
6 arch=(i686 x86_64)
7 url="http://code.google.com/p/rur-ple/"
8 license=('GPL')
9 depends=(python2 wxpython)
10 source=(http://rur-ple.googlecode.com/files/$pkgname-$pkgver.zip $pkgname)
11 md5sums=('28adf529d4462b50915fdb83adf44dc5'
12          '5f8e1debbde73fbc47929b2af38e49c3')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   sed -ri '/^wxversion\.select\(/d' rur_start.py
17 # remove svn dirs
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 {} \;
24 package() {
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: