# $Id: PKGBUILD 195714 2013-10-01 15:31:33Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksaneplugin pkgver=4.11.2 pkgrel=1 pkgdesc="A scan plugin that implements the scanning" url="https://projects.kde.org/projects/kde/kdegraphics/ksaneplugin" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') depends=('libksane') makedepends=('cmake' 'automoc4') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') source=("http://download.kde.org/stable/${pkgver}/src/ksaneplugin-${pkgver}.tar.xz") sha1sums=('baf3f8d92e683f53f7fce59d7854783223942877') build() { cd "${srcdir}" mkdir build cd build cmake ../ksaneplugin-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }