#Contributor: <thomas.luebking@gmail.com>

pkgname=beclock
_realname=beclock-kwin-fx
pkgver=0.18
_upstream_ver=18
pkgrel=1
pkgdesc="A simple clock, implemented as KWin Effect"
arch=('i686' 'x86_64')
url="http://kde-look.org/content/show.php?content=117542&forumpage=0"
depends=('kdebase-workspace>=4.6.0')
makedepends=('cmake' 'automoc4' 'gcc')
license=('GPL')

build()
{
    cd ..
    for name in *; do if [ ! -d "$name" ]; then ln -f "$name" "src/$name"; fi; done
    cd src
    rm -f src pgk
	if [ ! -d ]; then
	    ./configure
	fi
    cd build
    make || return 1
    make DESTDIR=$pkgdir install
}
