1 # Contributor: Radu Andries <admiral0 at tuxfamily.org>
3 pkgname=kdeplasma-applet-switchy
7 pkgdesc="A plasmoid for kde4 using vga_switcheroo. Only switchable graphics"
8 url="https://github.com/admiral0/Switchy"
9 makedepends=("cmake" "automoc4")
10 depends=('kdebase-workspace')
12 source=("http://kde-look.org/CONTENT/content-files/136969-Switchy-1.0.tar.bz2"
14 "org.admiral0.vgad.conf")
23 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
28 cd $srcdir/Switchy/build
29 make DESTDIR=$pkgdir install
30 install -D daemon/vgad $pkgdir/usr/bin/vgad
31 install -D client/vgac $pkgdir/usr/bin/vgac
32 install -D $srcdir/vgad $pkgdir/etc/rc.d/vgad
33 install -D $srcdir/org.admiral0.vgad.conf $pkgdir/etc/dbus-1/system.d/org.admiral0.vgad.conf
36 md5sums=('02dc6fd186aa82fe5da0de9d3d2ba303'
37 'd9cc95fcc86aedb4541dabc8c6ecb603'
38 '7d78ee23540fe0b876cf687e0d569312')