desktop/kmymoney/PKGBUILD
2015-04-28 23:06:17 +00:00

33 lines
906 B
Bash

pkgname=kmymoney
pkgver=4.7.2
pkgrel=1
pkgdesc="A finance manager for KDE4 with HBCI support"
arch=('x86_64')
url="http://kmymoney2.sourceforge.net"
license=('GPL')
depends=('kde-runtime' 'shared-mime-info' 'aqbanking-qt4' 'libofx' 'alkimia' 'boost-libs' 'kdepimlibs')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'gwenhywfar' 'docbook-xsl' 'boost' 'doxygen')
conflicts=('kmymoney2')
replaces=('kmymoney2')
categories=('office')
install=$pkgname.install
source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
sha256sums=('bfb2c29ff30988f46324c2dae197a06b58d07336a1947adc22bcfed3e554393d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir -p build && cd build
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SKIP_RPATH=YES
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="${pkgdir}" install
}