summaryrefslogtreecommitdiff
path: root/community/skrooge/PKGBUILD
blob: cd484ca1af34b34f537de73a0ec0c093fc810d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 82001 2013-01-05 15:34:09Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Ray Rashif <schiv@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>

pkgname=skrooge
pkgver=1.4.0
pkgrel=1
pkgdesc="A personal finances manager for KDE"
arch=('i686' 'x86_64')
url="http://skrooge.org/"
license=('GPL')
depends=('kdebase-runtime' 'libofx' 'qca-ossl')
makedepends=('cmake' 'automoc4' 'docbook-xsl' 'boost' 'kdepim-libkdepim')
optdepends=('kdepim-libkdepim: for KDE PIM integration')
install=$pkgname.install
changelog=$pkgname.changelog
source=(http://skrooge.org/files/$pkgname-$pkgver.tar.bz2)
sha256sums=('71df527bea98b7a998deeeed009bdf381ff890a5743a84b93db4f007223974f9')

build() {
  cd "${srcdir}/$pkgname-$pkgver"

  cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr

  make
}

package() {
  cd "${srcdir}/$pkgname-$pkgver"

  make DESTDIR="${pkgdir}" install
}