# $Id: PKGBUILD 217705 2014-07-21 20:32:53Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdeutils-sweeper pkgver=4.13.3 pkgrel=1 pkgdesc='System Cleaner' url='http://kde.org/applications/utilities/sweeper' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') source=("http://download.kde.org/stable/${pkgver}/src/sweeper-${pkgver}.tar.xz") sha1sums=('3156f6e570bafd5aa24fb6a86ee386d51c3f1455') build() { cd "${srcdir}" mkdir build cd build cmake ../sweeper-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install }