skrooge: update to 2.1.0

This commit is contained in:
Jeff Huang 2015-08-30 07:35:27 +00:00
parent 6277ee96a2
commit 1c673454d9

View File

@ -1,35 +1,31 @@
pkgname=skrooge
pkgver=2.0.0
pkgver=2.1.0
pkgrel=1
pkgdesc="Allows you to manage your personal finances in KDE"
arch=('x86_64')
url="http://skrooge.org"
license=('GPL')
depends=('grantlee-qt5' 'karchive' 'kconfig' 'kcoreaddons' 'ki18n' 'kitemviews'
'kwidgetsaddons' 'kwindowsystem' 'kcompletion' 'kdoctools' 'kjobwidgets'
'kconfigwidgets' 'kdesignerplugin' 'kiconthemes' 'kio' 'knewstuff' 'kparts'
'kwallet' 'kxmlgui' 'knotifyconfig' 'kdelibs4support' 'krunner' 'libofx'
'qt5-tools' 'python3' 'qca-qt5')
makedepends=('cmake' 'xdg-utils' 'extra-cmake-modules')
depends=('qt5-base' 'qt5-tools' 'qca-qt5' 'qt5-script' 'libofx' 'grantlee-qt5' 'python3'
'kross' 'knewstuff' 'krunner' 'knotifyconfig' 'kdelibs4support' 'sqlcipher')
makedepends=('cmake' 'kdoctools' 'extra-cmake-modules')
options=('!emptydirs')
categories=('office')
install=$pkgname.install
source=("http://download.kde.org/stable/skrooge/$pkgname-$pkgver.tar.xz")
sha256sums=('50da4dde01b85b2b0ba16902a05664910d4f2dbaa828370ee44c9f89e2efd6b5')
sha256sums=('fbec55673eb931546e47dff6e6480bac9478b03db87e703107f1472df0a314cf')
build() {
cd $srcdir/$pkgname-$pkgver
cd "${srcdir}"/$pkgname-$pkgver
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
..
cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \
-DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` \
-DKDE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd $srcdir/$pkgname-$pkgver/build
make DESTDIR=$pkgdir install
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}