desktop/kmymoney/PKGBUILD

40 lines
1.2 KiB
Bash
Raw Normal View History

2010-08-17 22:58:40 +08:00
pkgname=kmymoney
2018-03-19 21:23:27 +08:00
pkgver=5.0.1
2017-12-31 10:33:44 +08:00
pkgrel=1
2014-12-16 07:10:01 +08:00
pkgdesc="A finance manager for KDE4 with HBCI support"
arch=('x86_64')
url="https://kmymoney.org/"
2010-08-17 22:58:40 +08:00
license=('GPL')
depends=('aqbanking' 'boost-libs' 'libalkimia' 'sqlcipher' 'qt5-base' 'qgpgme' 'karchive'
'kcoreaddons' 'kconfig' 'kwidgetsaddons' 'ki18n' 'kcompletion' 'kcmutils'
'kitemmodels' 'kitemviews' 'kservice' 'kwallet' 'kiconthemes' 'kxmlgui'
'ktextwidgets' 'knotifications' 'kio' 'kdoctools' 'kholidays' 'kcontacts'
'akonadiconsole' 'kross' 'kqtquickcharts' 'kdiagram' 'kdewebkit' 'shared-mime-info')
makedepends=('boost' 'extra-cmake-modules' 'doxygen')
categories=('office')
2014-12-16 07:10:01 +08:00
install=$pkgname.install
source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz)
2018-03-19 21:23:27 +08:00
sha256sums=('dd6e8fc22a48ddcb322565c8f385d6aa44d582cfcf6fe2ff3dc11fc0b6bd2ab1')
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_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_SKIP_RPATH=YES \
-Wno-dev
2014-12-16 07:10:01 +08:00
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
}