1 #Contributor: MeMi69 <lumpilou AT gmail DOT com>
2 pkgname=on-off-switch-plasmoid
5 pkgdesc="Simple plasmoid that executes commands when the switch is toggled"
7 url="http://www.kde-look.org/content/show.php/On%2BOff+Switch?content=116323"
9 depends=('kdebase-workspace>=4.2')
10 makedepends=('cmake' 'automoc4')
12 source=(http://www.kde-look.org/CONTENT/content-files/116323-on_off_switch-$pkgver.tar.bz2)
13 md5sums=('89c9fd72bd1a52911bfac73dc86f2a1d')
16 cd "$srcdir/on_off_switch-$pkgver"
17 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
19 make DESTDIR="$pkgdir/" install
20 cd ../plasma-applet-publictransport-$pkgver
21 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
23 make DESTDIR="$pkgdir/" install
24 cd ../publictransport-icons-$pkgver
25 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
26 make DESTDIR="$pkgdir/" install