# $Id: PKGBUILD 194195 2013-09-10 13:43:31Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-print-manager pkgver=4.11.1 pkgrel=1 pkgdesc="A tool for managing print jobs and printers" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/kdeutils/print-manager' license=('GPL' 'LGPL' 'FDL') depends=('kdebase-workspace' 'libcups') makedepends=('cmake' 'automoc4') optdepends=('system-config-printer: auto-detect the printer driver') replaces=('print-manager' 'kdeutils-printer-applet' 'kdeadmin-system-config-printer-kde') conflicts=('print-manager') groups=('kde' 'kdeutils') source=("http://download.kde.org/stable/${pkgver}/src/print-manager-${pkgver}.tar.xz") sha1sums=('d8c877d526fa6c6648aa16ce7ad5cad2b40fccd4') build() { mkdir build cd build cmake ../print-manager-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }