# $Id: PKGBUILD 172886 2012-12-06 08:23:35Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-ktimer pkgver=4.9.4 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=('eb0a962643bade40039b06fcf3d4d8a5eb1b9444') 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 }