updated on Mon Jan 23 00:00:36 UTC 2012
[aur-mirror.git] / boodler / PKGBUILD
bloba98625d4b4cc9a888ae3bd58e4d46021e8b01c61
1 # Maintainer: Jeremy Sands <cto@jeremysands.com>
3 pkgname=boodler
4 pkgver=2.0.3
5 pkgrel=1
6 pkgdesc="Boodler is a dynamic soundscape creator, capable of producing things such as endless thunderstorm sounds."
7 arch=('i686' 'x86_64')
8 url="http://www.boodler.org"
9 license=('LGPL')
10 depends=('python>=2.3.5' 'pyqt>=4.0.0' 'patch')
11 source=(http://boodler.org/dl/Boodler-$pkgver.tar.gz
12         http://boodler.org/dl/etc/boodle-ui-qt.py
13         http://www.jeremysands.com/archlinux/gui-path-fix.patch)
14 md5sums=('99e680be8b4b937e0a087e9548e5c359'
15          '49b49ba9e9b7785045341c69549a0c5a'
16          'f7ec61be55784316a7d7bda00502baca')
18 build() {
19   cd "$startdir"/src/Boodler-$pkgver
20   python setup.py build || return 1
22   python setup.py install --prefix "$startdir"/pkg || return 1
24   # Boodler puts stuff in /bin ... frowny face
25   mkdir -p "$startdir"/pkg/usr/bin
26   mv "$startdir"/pkg/bin/* "$startdir"/pkg/usr/bin/
28   # Add the GUI
29   cd "$startdir"/src/
30   # Patch the path fail in the GUI
31   patch -p0 < gui-path-fix.patch || return 1
32   cp boodle-ui-qt.py "$startdir"/pkg/usr/bin/
33   chmod 755 "$startdir"/pkg/usr/bin/boodle-ui-qt.py
36 install=${pkgname}.install
38 # vim:set ts=2 sw=2 et: