updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / plasma-gx-mail-notify-plasmoid / PKGBUILD
blobace12e562d8b024bca841b6b9d9b25178d3f6ab8
1 # Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
2 # Contributor: LinuxUser <archlinux-user@gmx.com>
4 pkgname=plasma-gx-mail-notify-plasmoid
5 pkgver=0.4.4
6 pkgrel=4
7 pkgdesc="Plasmoid for checking unreaded e-mails."
8 arch=('i686' 'x86_64')
9 url="http://www.kde-look.org/content/show.php?content=99617"
10 license=('GPL')
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')
18 build() {
19   patch -p0 -d"$srcdir"/gx_mail_notify-$pkgver -i $srcdir/mail_checker.cpp.patch
21   mkdir -p "$srcdir"/build
22   cd "$srcdir"/build
24   cmake -DCMAKE_INSTALL_PREFIX="$(kde4-config --prefix)" ../gx_mail_notify-$pkgver
25   make
28 package() {
29   cd "$srcdir"/build
30   make DESTDIR="$pkgdir/" install