desktop/kmymoney/PKGBUILD

42 lines
1002 B
Bash
Raw Normal View History

# Maintainer: abveritas@chakra-project.org
2010-08-17 22:58:40 +08:00
pkgname=kmymoney
2013-10-06 02:22:51 +08:00
pkgver=4.6.4
pkgrel=1
2010-08-17 22:58:40 +08:00
pkgdesc="An 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-workspace' 'aqbanking-qt4' 'shared-mime-info' 'boost-libs' 'pulseaudio'
'libofx' 'alkimia')
2011-09-12 05:54:07 +08:00
makedepends=('cmake' 'automoc4' 'gwenhywfar' 'docbook-xsl' 'boost' 'doxygen')
2010-08-17 22:58:40 +08:00
conflicts=(kmymoney2)
replaces=(kmymoney2)
categories=('office')
2013-10-06 02:22:51 +08:00
source=("http://sourceforge.net/projects/kmymoney2/files/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.xz/download")
sha1sums=('3e4b17574684fd717fc75963d0a0c4d31aa81b71')
prepare() {
2013-10-06 02:22:51 +08:00
cd "${srcdir}"
rm -rf build
mkdir build
}
2010-08-17 22:58:40 +08:00
build() {
2013-10-06 02:22:51 +08:00
cd ${srcdir}/build
2013-10-06 02:22:51 +08:00
cmake "${srcdir}/${pkgname}-${pkgver}" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_SKIP_RPATH=YES \
-DKDE4_BUILD_TESTS=OFF
make VERBOSE=1
2011-09-12 05:54:07 +08:00
}
package() {
2013-10-06 02:22:51 +08:00
cd ${srcdir}/build
2011-09-12 05:54:07 +08:00
make DESTDIR=${pkgdir} install
2010-08-17 22:58:40 +08:00
}