updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gnome15-impulse15 / PKGBUILD
blobc53256d3f1bd3aca0d9af3df1205898e5110a187
1 # Maintainer: Nuno Araujo <nuno.araujo at russo79.com>
2 pkgname=gnome15-impulse15
3 pkgver=0.0.10
4 pkgrel=1
5 pkgdesc="Impulse plugin for gnome15"
6 arch=(any)
7 url="http://www.gnome15.org/"
8 license=('GPL')
9 depends=(gnome15 fftw libpulse)
10 source=(http://www.gnome15.org/downloads/Gnome15/Optional/$pkgname-$pkgver.tar.gz)
11 md5sums=('cf173feef24154946d77017801231b37')
13 build() {
14   cd "$srcdir/$pkgname-$pkgver"
16   # python2 fix
17   for file in $(find . -type f -name '*.py' -print); do
18     sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
19     sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
20   done
22   ./configure --prefix=/usr PYTHON=python2 PYTHON_VERSION=2
23   make
26 package() {
27   cd "$srcdir/$pkgname-$pkgver"
29   make DESTDIR="$pkgdir/" install
32 # vim:set ts=2 sw=2 et: