desktop/kmymoney/PKGBUILD

33 lines
921 B
Bash
Raw Normal View History

2010-08-17 22:58:40 +08:00
pkgname=kmymoney
2015-04-29 07:06:17 +08:00
pkgver=4.7.2
2016-03-15 20:43:52 +08:00
pkgrel=3
2014-12-16 07:10:01 +08:00
pkgdesc="A finance manager for KDE4 with HBCI support"
arch=('x86_64')
2010-08-17 22:58:40 +08:00
url="http://kmymoney2.sourceforge.net"
license=('GPL')
depends=('kde-runtime' 'shared-mime-info' 'aqbanking' 'libofx>=0.9.10' 'libalkimia' 'boost-libs' 'kdepimlibs')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'gwenhywfar>=4.13.1' 'docbook-xsl' 'boost' 'doxygen')
conflicts=('kmymoney2')
replaces=('kmymoney2')
categories=('office')
2014-12-16 07:10:01 +08:00
install=$pkgname.install
source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
2015-04-29 07:06:17 +08:00
sha256sums=('bfb2c29ff30988f46324c2dae197a06b58d07336a1947adc22bcfed3e554393d')
2014-12-16 07:10:01 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2015-04-29 07:06:17 +08:00
mkdir -p build && cd build
2014-12-16 07:10:01 +08:00
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_SKIP_RPATH=YES
make
2011-09-12 05:54:07 +08:00
}
package() {
2014-12-16 07:10:01 +08:00
cd "${srcdir}/${pkgname}-${pkgver}/build"
2011-09-12 05:54:07 +08:00
2014-12-16 07:10:01 +08:00
make DESTDIR="${pkgdir}" install
2010-08-17 22:58:40 +08:00
}