# $Id: PKGBUILD 144719 2011-12-08 09:21:08Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksaneplugin pkgver=4.7.4 pkgrel=1 pkgdesc="A scan plugin that implements the scanning" url="http://kde.org/" 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.bz2") sha1sums=('15f7ca6fbabb757898cc0f18685f5e204e6b3f56') build() { cd "${srcdir}" mkdir build cd build cmake ../ksaneplugin-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }