updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / jokosher / PKGBUILD
blob2defc9d6505dc3d1c0011e181c8a7a61d2ac3773
1 # Maintainer : SpepS <dreamspepser at yahoo dot it>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
4 # Contributor: William Rea <sillywilly@gmail.com>
6 pkgname=jokosher
7 pkgver=0.11.5
8 pkgrel=2
9 pkgdesc="A simple and easy-to-use Open Source multi-track editor"
10 arch=('any')
11 url="http://jokosher.org"
12 license=('GPL')
13 install="$pkgname.install"
14 depends=('gstreamer0.10-python' 'gnonlin' 'dbus-python' 'libcanberra'
15          'gstreamer0.10-base-plugins' 'gstreamer0.10-base>=0.10.12' 'pygtk'
16          'gstreamer0.10-good' 'desktop-file-utils' 'hicolor-icon-theme' 'pyxdg')
17 makedepends=('python2-distribute')
18 source=("http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz")
19 md5sums=('941b1fac0a93e2963afc192545caf320')
21 build() {
22   cd "$srcdir/$pkgname-$pkgver"
24   python2 setup.py build
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
29   python2 setup.py install --skip-build --root=$pkgdir
31   # python2 fix
32   sed -i 's|bin/python|&2|' `find "$pkgdir" -name "*.py"`