# $Id: PKGBUILD 152628 2012-03-07 16:17:41Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-kwallet pkgver=4.8.1 pkgrel=1 pkgdesc='Wallet Management Tool' url='http://kde.org/applications/system/kwalletmanager/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/xz/kwallet-${pkgver}.tar.xz") sha1sums=('39c1d6720cd486e86179468b5606923bab73cb9e') build() { cd "${srcdir}" mkdir build cd build cmake ../kwallet-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install cd $srcdir/build/doc make DESTDIR=$pkgdir install }