updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / on-off-switch-plasmoid / PKGBUILD
blobd9c31e5668d8e80f0f327b46b65d5624466e5885
1 #Contributor: MeMi69 <lumpilou AT gmail DOT com>
2 pkgname=on-off-switch-plasmoid
3 pkgver=0.2
4 pkgrel=2
5 pkgdesc="Simple plasmoid that executes commands when the switch is toggled"
6 arch=('i686' 'x86_64')
7 url="http://www.kde-look.org/content/show.php/On%2BOff+Switch?content=116323"
8 license=('GPL')
9 depends=('kdebase-workspace>=4.2')
10 makedepends=('cmake' 'automoc4')
11 options=()
12 source=(http://www.kde-look.org/CONTENT/content-files/116323-on_off_switch-$pkgver.tar.bz2)
13 md5sums=('89c9fd72bd1a52911bfac73dc86f2a1d')
15 build() {
16   cd "$srcdir/on_off_switch-$pkgver"
17   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
18   make || return 1
19   make DESTDIR="$pkgdir/" install
20   cd ../plasma-applet-publictransport-$pkgver
21   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
22   make || return 1
23   make DESTDIR="$pkgdir/" install
24   cd ../publictransport-icons-$pkgver
25   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
26   make DESTDIR="$pkgdir/" install