desktop/skrooge/PKGBUILD
2017-01-15 07:26:36 +00:00

37 lines
1.2 KiB
Bash

pkgname=skrooge
pkgver=2.6.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"
skrooge-qt57.patch)
sha256sums=('f76be3a3033190da5324202da2592550cc64bcc8569c7ad3bcce989e93314d8f'
'3d86a4f4933fffceb5bb7dc5b2ecd1cc69713c5fe87eb4097b2d2c4bfa3ef3f2')
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
}