# $Id: PKGBUILD 204193 2014-01-15 10:18:07Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdegraphics-ksnapshot pkgver=4.12.1 pkgrel=1 pkgdesc="Screen Capture Program" url="http://kde.org/applications/graphics/ksnapshot/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') depends=('kdebase-runtime' 'libkipi') makedepends=('cmake' 'automoc4') optdepends=('kipi-plugins') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.xz") sha1sums=('23c905f13abdbc0195c471e783c684f37894dc36') build() { cd "${srcdir}" mkdir build cd build cmake ../ksnapshot-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }