desktop/skrooge/PKGBUILD
2016-04-04 22:15:07 +02:00

35 lines
1.2 KiB
Bash

pkgname=skrooge
pkgver=2.3.0
pkgrel=2
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=('76f57e2cede320848f1f1bef41b3be128aec9d59a8e643701b30bcae61f8a11a')
build() {
cd "${srcdir}"/$pkgname-$pkgver
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
make DESTDIR="${pkgdir}" install
}