updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnome-pulse-applet-svn / PKGBUILD
blob7bba879423ca8fbd772ec9d414de6dc2899a4ba0
1 # $Id: PKGBUILD, 2009/05/30$
2 # Maintainer: Maxime de Roucy <maxime.deroucy@gmail.com>
3 # Contributor: Maxime de Roucy <maxime.deroucy@gmail.com>
4 pkgname=gnome-pulse-applet-svn
5 pkgver=274
6 pkgrel=1
7 pkgdesc="This is simple applet for controlling PulseAudio streams."
8 arch=('i686' 'x86_64')
9 url="http://code.google.com/p/gnome-pulse-applet/"
10 provides=('gnome-pulse-applet')
11 conflicts=('gnome-pulse-applet')
12 replaces=('gnome-pulse-applet')
13 license=('GPL3')
14 depends=('pulseaudio' 'pygtk' 'setuptools' 'gnome-python-desktop' 'python')
15 makedepends=('subversion')
17 _svntrunk="http://gnome-pulse-applet.googlecode.com/svn/trunk/"
18 _svnmod="gnome-pulse-applet-read-only"
20 build() {
21     cd "$srcdir"
23     if [ -d $_svnmod/.svn ]; then
24         svn up $_svnmod
25     else
26         svn co $_svntrunk $_svnmod
27     fi
29     cd $_svnmod
31     sed -i 's/lib64/lib/' Makefile
33     make PYTHON_VERSION=2.6 || return 1
34     make PYTHON_VERSION=2.6 DESTDIR=$pkgdir install