updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / publictransport-plasmoid / PKGBUILD
blob8187f5da6256597833ca9f7c7d4ab49d9f1fc1d9
1 # Maintainer: Carl Mueller  archlinux at carlm e4ward com
3 pkgname=publictransport-plasmoid
4 pkgver=0.10_rc2
5 _pkgver=0.10-rc2
6 pkgrel=1
7 pkgdesc="Kdeplasma plasmoid with departure board for a given stop"
8 arch=('i686' 'x86_64')
9 url="http://www.kde-look.org/content/show.php/PublicTransport?content=106175"
10 license=('GPL')
11 depends=('publictransport-library' 'kwebkitpart' 'kdebase-workspace')
12 makedepends=('git' 'cmake' 'automoc4')
13 options=()
14 build() {
15   git archive --format=tar --remote=git://anongit.kde.org/publictransport unstable-$_pkgver > publictransport.tar
16   cd $srcdir
17   tar xf publictransport.tar
18   cd engine
19     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
20     make
21     make DESTDIR="$pkgdir/" install
22   cd ../applet
23     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
24     make
25     make DESTDIR="$pkgdir/" install
26   cd ../applet-flights
27     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
28     make
29     make DESTDIR="$pkgdir/" install
30   cd ../applet-graphicaltimetableline
31     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
32     make
33     make DESTDIR="$pkgdir/" install
34   cd ../runner
35     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
36     make
37     make DESTDIR="$pkgdir/" install
38   cd ../icons
39     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
40     make
41     make DESTDIR="$pkgdir/" install
42   cd ../engine-openstreetmap
43     cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
44     make
45     make DESTDIR="$pkgdir/" install
46 #  cd ../timetablemate
47 #    cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .
48 #    make
49 #    make DESTDIR="$pkgdir/" install