updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / kdeplasma-addons-applets-veromix / PKGBUILD
blob048473f89e0ec2eaf9c7c435dce432123824dab0
1 # Maintainer: Tom Debruyne <tomdebruyne at gmail dot com>
3 pkgname=kdeplasma-addons-applets-veromix
4 pkgver=0.13.1
5 pkgrel=1
6 pkgdesc="A plasmoid mixer for the Pulseaudio sound server"
7 url="http://code.google.com/p/veromix-plasmoid/"
8 license=('GPL3')
9 arch=('any')
10 depends=('kdebindings-python' 'kdebase-workspace' 'python2-qt' 'pulseaudio' 'pyxdg')
11 optdepends=('swh-plugins: equalizer and other effects support')
12 makedepends=()
14 source=("http://veromix-plasmoid.googlecode.com/files/2011-09-15_${pkgver}_veromix.plasmoid")
15 md5sums=('c5cea66c1862aa2b7c8abdbf78bead4f')
16 build() {
17   cd $srcdir
19   install -dm755 ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid || return 1
20   cp -R {contents,dbus-service,metadata.desktop} ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid || return 1
21   install -Dm644 metadata.desktop ${pkgdir}/usr/share/kde4/services/plasma-applet-veromix-plasmoid.desktop || return 1
22   
23   sed -i -e '1 s/python/python2/' ${pkgdir}/usr/share/apps/plasma/plasmoids/veromix-plasmoid/dbus-service/VeromixServiceMain.py