# $Id$ # Maintainer: Andrea Scarpino pkgname=kdetoys-kteatime pkgver=4.11.0 pkgrel=1 pkgdesc='Tea Cooker' url='http://kde.org/applications/games/kteatime/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdetoys') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kteatime-${pkgver}.tar.xz") sha1sums=('e3cccbe39e819e309a0ee6ddf5ccb1130aaa06c3') build() { mkdir build cd build cmake ../kteatime-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$pkgdir install }