desktop/kmymoney/PKGBUILD

33 lines
886 B
Bash
Raw Normal View History

2010-08-17 22:58:40 +08:00
pkgname=kmymoney
2017-12-31 10:33:44 +08:00
pkgver=4.8.1.1
pkgrel=1
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')
2017-10-18 08:51:37 +08:00
depends=('kde-runtime' 'shared-mime-info' 'aqbanking' 'libofx' 'libalkimia' 'boost-libs' 'libical')
makedepends=('cmake' 'automoc4' 'docbook-xml' 'docbook-xsl' 'boost' 'doxygen')
categories=('office')
2014-12-16 07:10:01 +08:00
install=$pkgname.install
2017-10-18 08:51:37 +08:00
source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.7z)
2017-12-31 10:33:44 +08:00
sha256sums=('7ee2f468ee0bd952cc4d55c2ec2691651afba1c46634cadc2a1161ef405c73a3')
2016-05-18 04:18:36 +08:00
prepare() {
2014-12-16 07:10:01 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2016-05-18 04:18:36 +08:00
mkdir -p build
}
2016-05-18 04:18:36 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}/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
}