# $Id: PKGBUILD 153182 2012-03-12 09:33:25Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksnapshot pkgver=4.8.1 pkgrel=1 pkgdesc="Screen Capture Program" url="http://kde.org/applications/graphics/ksnapshot/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') depends=('kdelibs' 'libkipi') makedepends=('cmake' 'automoc4') optdepends=('kipi-plugins') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.xz") sha1sums=('3e8f0842d06d0fbb98dcebeba684847552fc02a9') build() { cd "${srcdir}" mkdir build cd build cmake ../ksnapshot-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }