diff options
author | Massimiliano Torromeo | 2015-10-11 17:42:10 +0200 |
---|---|---|
committer | Massimiliano Torromeo | 2015-10-11 17:42:10 +0200 |
commit | dff050a99a18336b28352945ca961af3add0e18e (patch) | |
tree | 8a44bc4e9c73d712321a24049f517c31ab886402 | |
parent | 8081fe367414c5e641457540c8b7eda8ab6c7025 (diff) | |
download | aur-dff050a99a18336b28352945ca961af3add0e18e.tar.gz |
Updated to QT5 build
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | trojita.install | 12 |
2 files changed, 19 insertions, 2 deletions
@@ -7,10 +7,11 @@ pkgdesc="A fast QT IMAP e-mail client" arch=(i686 x86_64) url="http://trojita.flaska.net" license=('GPL') -depends=('qtwebkit' 'kdepimlibs4') +depends=('qt5-webkit' 'qtkeychain-qt5' 'qt5-tools' 'zlib') conflicts=('trojita') provides=('trojita') makedepends=('git' 'cmake') +install=trojita.install source=('git://anongit.kde.org/trojita.git') md5sums=('SKIP') @@ -22,7 +23,11 @@ pkgver() { build() { cd "$srcdir/trojita" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release . + cmake -DWITH_QT5=ON \ + -DWITH_QTKEYCHAIN_PLUGIN=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + . make } diff --git a/trojita.install b/trojita.install new file mode 100644 index 000000000000..4df4c6484c79 --- /dev/null +++ b/trojita.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + xdg-icon-resource forceupdate --theme hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |