# $Id: PKGBUILD 167856 2012-10-03 14:48:01Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-ktimer pkgver=4.9.2 pkgrel=1 pkgdesc='Countdown Launcher' url='http://kde.org/applications/utilities/ktimer/' arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ktimer-${pkgver}.tar.xz") sha1sums=('e621ca273d1cb2490f9212f3c2ecf8d57a6efdd3') build() { cd "${srcdir}" mkdir build cd build cmake ../ktimer-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install cd $srcdir/build/doc make DESTDIR=$pkgdir install }