desktop/skrooge/PKGBUILD

37 lines
1.2 KiB
Bash
Raw Normal View History

2010-05-31 00:14:31 +08:00
pkgname=skrooge
2017-01-15 15:26:36 +08:00
pkgver=2.6.0
2016-10-03 05:42:34 +08:00
pkgrel=1
2010-05-31 00:14:31 +08:00
pkgdesc="Allows you to manage your personal finances in KDE"
2013-02-26 04:58:07 +08:00
arch=('x86_64')
2010-05-31 00:14:31 +08:00
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')
2015-08-30 15:35:27 +08:00
options=('!emptydirs')
categories=('office')
install=$pkgname.install
2016-07-07 20:57:43 +08:00
source=("http://download.kde.org/stable/skrooge/$pkgname-$pkgver.tar.xz"
skrooge-qt57.patch)
2017-01-15 15:26:36 +08:00
sha256sums=('f76be3a3033190da5324202da2592550cc64bcc8569c7ad3bcce989e93314d8f'
2016-07-07 20:57:43 +08:00
'3d86a4f4933fffceb5bb7dc5b2ecd1cc69713c5fe87eb4097b2d2c4bfa3ef3f2')
2010-05-31 00:14:31 +08:00
build() {
2016-10-03 05:42:34 +08:00
cd $pkgname-$pkgver
2015-08-30 15:35:27 +08:00
cmake . -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \
2016-06-17 08:09:17 +08:00
-DKDE_INSTALL_QTPLUGINDIR=`kf5-config --qt-plugins` \
2015-08-30 15:35:27 +08:00
-DKDE_INSTALL_LIBDIR=/usr/lib
make
2010-05-31 00:14:31 +08:00
}
2015-08-30 15:35:27 +08:00
2010-05-31 00:14:31 +08:00
package() {
2016-10-03 05:42:34 +08:00
cd $pkgname-$pkgver
2015-08-30 15:35:27 +08:00
2016-10-03 05:42:34 +08:00
make DESTDIR=$pkgdir install
2010-05-31 00:14:31 +08:00
}