updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / pythonmachine / PKGBUILD
blob288c4e1c47ad3a6aeed8bfe5a7cd1ee35427c56c
1 # Contributor: Aliaksandr Stelmachonak <mail.avatar at gmail dot com>
3 pkgname=pythonmachine
4 pkgver=0.26.4
5 _release=2
6 pkgrel=2
7 pkgdesc="A Python/Pygtk development environment"
8 arch=('i686' 'x86_64')
9 url="http://pythonmachine.sourceforge.net/"
10 license=('GPL')
11 depends=('python>=2.5' 'pygtk>=2.12' 'glade>=2.12' 'pygtksourceview>=1.1.0' 'libgnomeprintui'
12                                 'libbonobo>=2.22.0' 'gettext>=0.17' 'gnome-vfs>=2.22.0' 'gnome-python>=2.22.0'
13                                 'gnome-python-desktop>=2.22.0'  'gnome-python-extras>=2.22.0' 'tar>=1.19-3' 'vte' 'gdl')
14 source=( http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}-${pkgrel}/${pkgname}_${pkgver}-${_release}.tar.gz )
15 md5sums=('5d403a3662cf338e3b90032a1dd041f6')
17 build() {
18         cd $srcdir/${pkgname}_${pkgver}-${_release}
19         # perform installation
20         python setup.py install --root=${pkgdir} || return 1
21         # fix users permissions  
22         chmod -R +r $pkgdir/usr/*
23         # install icon file
24         install -Dm644 $pkgdir/usr/share/pythonmachine/pixs/pythonmachine.png \
25                 $pkgdir/usr/share/pixmaps/pythonmachine.png