# $Id: PKGBUILD 194197 2013-09-10 13:43:46Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-sweeper pkgver=4.11.1 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=('72f4f3e3544abc3cd94d2fa04b286e2a0dd15f7e') 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 }