pkgname=skrooge pkgver=1.12.5 pkgrel=1 pkgdesc="Allows you to manage your personal finances in KDE" arch=('x86_64') url="http://skrooge.org" license=('GPL') depends=('grantlee' 'kdepimlibs' 'kde-runtime' 'libofx' 'qca-ossl') makedepends=('automoc4' 'cmake' 'docbook-xsl' 'boost') categories=('office') install=$pkgname.install source=("http://download.kde.org/stable/skrooge/$pkgname-$pkgver.tar.xz") sha512sums=('5612378a57872065c4ebfff0fabca74a9a0df116fc493643bc01a08c2627a8fb45025221ce5b2123b49d2daffa57ea543312192ecfe96aa3189db7ea4c07fe90') build() { cd $srcdir/$pkgname-$pkgver [[ -d build ]] && rm -r build mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ .. make } package() { cd $srcdir/$pkgname-$pkgver/build make DESTDIR=$pkgdir install }