desktop/kmymoney/PKGBUILD
2014-12-15 23:10:01 +00:00

38 lines
1010 B
Bash

# Maintainer: Francesco Marinucci <framari [at] openmailbox [dot] org>
# Maintainer: abveritas@chakra-project.org
pkgname=kmymoney
pkgver=4.7.1
pkgrel=1
pkgdesc="A finance manager for KDE4 with HBCI support"
arch=('x86_64')
url="http://kmymoney2.sourceforge.net"
license=('GPL')
depends=('kde-workspace' 'aqbanking-qt4' 'shared-mime-info' 'boost-libs' 'pulseaudio'
'libofx' 'alkimia')
makedepends=('cmake' 'automoc4' '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=('7749cbae146eb4adf5c92162c841ae321f971c5720bc32d0227a42a4dd4acfc4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir 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
}