# $Id: PKGBUILD 146177 2012-01-05 13:46:20Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-kwallet pkgver=4.7.97 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/unstable/${pkgver}/src/kwallet-${pkgver}.tar.bz2") sha1sums=('73d301b9fb393788a52e1da344c8d1df372e784a') 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 }