1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: LinuxUser <archlinux-user@gmx.com>
4 pkgname=plasma-gx-mail-notify-plasmoid
7 pkgdesc="Plasmoid for checking unreaded e-mails."
9 url="http://www.kde-look.org/content/show.php?content=99617"
11 depends=('kdebase-workspace')
12 makedepends=('cmake' 'automoc4')
13 install=gxmailnotify.install
14 source=("http://www.kde-look.org/CONTENT/content-files/99617-gx_mail_notify-$pkgver.tar.bz2" "mail_checker.cpp.patch")
15 md5sums=('bc9bb6234f85abdfc630b94390c474bf'
16 'afae43af219c3ddd6f3cf021cead6947')
19 patch -p0 -d"$srcdir"/gx_mail_notify-$pkgver -i $srcdir/mail_checker.cpp.patch
21 mkdir -p "$srcdir"/build
24 cmake -DCMAKE_INSTALL_PREFIX="$(kde4-config --prefix)" ../gx_mail_notify-$pkgver
30 make DESTDIR="$pkgdir/" install