# $Id: PKGBUILD 209630 2014-03-31 10:26:24Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdeutils-kgpg pkgver=4.12.4 pkgrel=1 pkgdesc='A GnuPG frontend' url='http://kde.org/applications/utilities/kgpg/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime' 'kdepimlibs' 'kde-agent') makedepends=('cmake' 'automoc4' 'boost') groups=('kde' 'kdeutils') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kgpg-${pkgver}.tar.xz") sha1sums=('4d57a251f4b1a277343ab91c88867c977d6e5d9e') prepare() { mkdir build } build() { cd build cmake ../kgpg-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR=$pkgdir install }