1 # Maintainer: Todd Partridge <todd.partridge@gmail.com>
3 pkgname=kcheckgmail-git
6 pkgdesc="KDE 4 systray application that notifies when new email is received in a Gmail account"
8 url="http://kcheckgmail.sourceforge.net/"
10 depends=('kdelibs>=4.1.2' 'qt>=4.5')
11 makedepends=('gcc' 'cmake' 'automoc4' 'git' 'gettext')
14 _gitroot="git://git.debian.org/users/lpereira-guest/kcheckgmail.git"
15 _gitname="kcheckgmail-kde4"
21 msg "Connecting to $_gitroot..."
22 if [[ -d $_gitname ]]; then
23 (cd $_gitname && git pull origin)
24 msg2 "Local files updates"
26 git clone $_gitroot $_gitname
28 git checkout -b kde4-port origin/kde4-port
29 msg2 "Git checkout done"
32 install -d build && cd build
33 cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
34 DCMAKE_BUILD_TYPE=debugfull ..
36 make DESTDIR="$pkgdir/" install || return 1