desktop/skrooge/PKGBUILD
2017-05-12 00:40:37 +01:00

35 lines
1.1 KiB
Bash

pkgname=skrooge
pkgver=2.8.0
pkgrel=1
pkgdesc="Allows you to manage your personal finances in KDE"
arch=('x86_64')
url="http://skrooge.org"
license=('GPL')
depends=('qt5-base' 'qt5-tools' 'qca-qt5' 'qt5-script' 'libofx>=0.9.10' 'grantlee-qt5'
'kross' 'krunner' 'knotifyconfig' 'sqlcipher' 'python3' 'kdelibs4support'
'karchive' 'kconfig' 'kcoreaddons' 'ki18n' 'kitemviews' 'kwidgetsaddons'
'kwindowsystem' 'kcompletion' 'kdoctools' 'kjobwidgets' 'kconfigwidgets'
'kdesignerplugin' 'kiconthemes' 'kio' 'knewstuff' 'kparts' 'kwallet' 'kxmlgui')
makedepends=('cmake' 'extra-cmake-modules')
options=('!emptydirs')
categories=('office')
install=$pkgname.install
source=("http://download.kde.org/stable/skrooge/$pkgname-$pkgver.tar.xz")
sha256sums=('d96cd93666ef0ffe74860cff15df78a79f02e2e26b53fcfd1ff90ac5393de912')
build() {
cd $pkgname-$pkgver
cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \
-DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins` \
-DKDE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}