# $Id: PKGBUILD 213176 2014-05-19 15:01:09Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdeadmin-kcron pkgver=4.13.1 pkgrel=1 pkgdesc='Configure and schedule tasks' url='http://userbase.kde.org/KCron' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeadmin') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') source=("http://download.kde.org/stable/${pkgver}/src/kcron-${pkgver}.tar.xz") sha1sums=('a2cb8a37b8b57b3060d8dc8e93e975ceaa18a3ce') build() { mkdir build cd build cmake ../kcron-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$pkgdir install }