updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / plasmoid-eventlist-git / PKGBUILD
blob005f695f77275e351815679d59061ad6c2e196eb
1 pkgname=plasmoid-eventlist-git
2 pkgver=20110328
3 pkgrel=1
4 pkgdesc="This is a plasmoid to show the events from Akonadi resources (KOrganizer, Birthdays etc.)."
5 arch=('i686' 'x86_64')
6 url="http://github.com/geflei/plasmoid-eventlist"
7 license=('GPL')
8 depends=('kdebase-workspace>=4.3.0' 'boost-libs')
9 makedepends=('gcc' 'cmake' 'automoc4' 'boost')
10 provides=(plasmoid-eventlist)
11 conflicts=(plasmoid-eventlist)
12 source=()
13 md5sums=()
15 _gitroot="http://github.com/geflei/plasmoid-eventlist.git"
16 _gitname="master"
19 build() {
21   cd $srcdir
23   if [[ -d $_gitname ]]; then
24   (cd $_gitname && git pull origin)
25   else
26   git clone $_gitroot $_gitname
27   fi
29   cd $_gitname
31   rm -rf build
32   mkdir build
33   cd build
34   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
35   make || return 1
36   make DESTDIR=$pkgdir install