summaryrefslogtreecommitdiff
path: root/nonprism/kdepim
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-24 05:21:02 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-28 18:37:19 -0300
commita2e1488043f3b027430a6d5f75640e0d0395bc42 (patch)
tree17eb8de8142440cfac6e10f5632371f88717a241 /nonprism/kdepim
parenta843148eb914779a260efb8a2dd3b7bb0828ac9e (diff)
kdepim-15.08.0-3.nonprism1: updating version
Diffstat (limited to 'nonprism/kdepim')
-rw-r--r--nonprism/kdepim/PKGBUILD128
-rw-r--r--nonprism/kdepim/akregator.install12
-rw-r--r--nonprism/kdepim/kaddressbook.install12
-rw-r--r--nonprism/kdepim/kdepim.install13
-rw-r--r--nonprism/kdepim/kmail.install12
-rw-r--r--nonprism/kdepim/knode.install12
-rw-r--r--nonprism/kdepim/korganizer.install12
7 files changed, 201 insertions, 0 deletions
diff --git a/nonprism/kdepim/PKGBUILD b/nonprism/kdepim/PKGBUILD
new file mode 100644
index 000000000..5aed465a3
--- /dev/null
+++ b/nonprism/kdepim/PKGBUILD
@@ -0,0 +1,128 @@
+# $Id: PKGBUILD 244749 2015-08-23 19:34:12Z arojas $
+# Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
+# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+pkgbase=kdepim
+pkgname=(akonadiconsole kaddressbook kmail knotes
+ korganizer libkdepim)
+pkgver=15.08.0
+pkgrel=3.nonprism1
+arch=('i686' 'x86_64')
+url='http://pim.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdepim')
+makedepends=(extra-cmake-modules kdepim-runtime qt5-tools grantlee-qt5 kdoctools knewstuff khtml
+ ktexteditor kdnssd kldap libktnef boost gpgmepp kontactinterface kxmlrpcclient kblog
+ akonadi-search)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgbase-$pkgver.tar.xz")
+sha1sums=('e0bdf22fbf9bc4ebcb85f8202315334d4eff8c3f')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgbase-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTING=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DLIBEXEC_INSTALL_DIR=lib \
+ -DKDEPIM_STORAGESERVICE_GDRIVE=OFF
+ make
+}
+
+package_akonadiconsole() {
+ pkgdesc='Akonadi Management and Debugging Console, without Google Drive support'
+ depends=('libkdepim')
+ conflicts=("kdepim-$pkgname")
+ url='http://pim.kde.org'
+ install='kdepim.install'
+ cd build/akonadiconsole
+ make DESTDIR="$pkgdir" install
+}
+
+package_kaddressbook() {
+ pkgdesc='Contact Manager, without Google Drive support'
+ depends=('libkdepim' 'kontactinterface')
+ conflicts=("kdepim-$pkgname")
+ url="http://kde.org/applications/office/kaddressbook/"
+ install='kaddressbook.install'
+ for _i in kaddressbook plugins/kaddressbook; do
+ cd "$srcdir"/build/$_i
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_kmail() {
+ pkgdesc='Mail Client, without Google Drive support'
+ depends=('libkdepim' 'kontactinterface' 'kio-pim')
+ conflicts=("kdepim-$pkgname")
+ url="http://kde.org/applications/internet/kmail/"
+ install='kmail.install'
+ for _i in kmail agents/archivemailagent agents/mailfilteragent \
+ storageservicemanager importwizard libksieve messagelist grantleeeditor mboximporter; do
+ cd "$srcdir"/build/$_i
+ make DESTDIR="$pkgdir" install
+ done
+ for _i in akonadi_archivemail_agent kmail importwizard; do
+ cd "$srcdir"/build/doc/$_i
+ make DESTDIR="$pkgdir" install
+ done
+}
+
+package_knotes() {
+ pkgdesc='Popup Notes, without Google Drive support'
+ depends=('libkdepim' 'kontactinterface')
+ conflicts=("kdepim-$pkgname")
+ url="http://kde.org/applications/utilities/knotes/"
+ install='kdepim.install'
+ cd "$srcdir"/build/knotes
+ make DESTDIR="$pkgdir" install
+ cd "$srcdir"/build/agents/notesagent
+ make DESTDIR="$pkgdir" install
+ cd "$srcdir"/build/doc/knotes
+ make DESTDIR="$pkgdir" install
+ cd "$srcdir"/build/doc/akonadi_notes_agent
+ make DESTDIR="$pkgdir" install
+}
+
+package_korganizer() {
+ pkgdesc='Calendar and Scheduling Program, without Google Drive support'
+ depends=('libkdepim' 'kontactinterface')
+ conflicts=("kdepim-$pkgname")
+ url="http://kde.org/applications/office/korganizer"
+ install='korganizer.install'
+ for _i in korganizer korgac; do
+ cd "$srcdir"/build/$_i
+ make DESTDIR="$pkgdir" install
+ done
+ cd "$srcdir"/build/doc/korganizer
+ make DESTDIR="$pkgdir" install
+}
+
+package_libkdepim() {
+ pkgdesc='Common libraries and resources for KDE PIM applications, without Google Drive support'
+ groups=()
+ depends=('kdepim-runtime' 'gpgmepp' 'grantlee-qt5' 'akonadi-search' 'knewstuff' 'kldap' 'kdnssd')
+ conflicts=('kdepim-libkdepim' 'kdepim-kjots' 'kdepim-knode' 'kdepim-kresources' 'kdepim-ktimetracker')
+ url='http://pim.kde.org'
+ install=kdepim.install
+ for _i in agents/sendlateragent calendarsupport grantleetheme incidenceeditor-ng kdgantt2 libkdepim \
+ accountwizard icons libkdepimdbusinterfaces libkleo libkpgp mailcommon mailimporter \
+ messagecomposer messagecore messageviewer noteshared templateparser calendarviews agents/followupreminderagent \
+ plugins/messageviewer pimcommon pimsettingexporter sieveeditor kaddressbookgrantlee; do
+ cd "$srcdir"/build/$_i
+ make DESTDIR="$pkgdir" install
+ done
+ for _i in akonadi_sendlater_agent akonadi_followupreminder_agent contactthemeeditor headerthemeeditor pimsettingexporter sieveeditor; do
+ cd "$srcdir"/build/doc/$_i
+ make DESTDIR="$pkgdir" install
+ done
+
+ mkdir -p "$pkgdir"/etc/xdg
+ install -m644 "$srcdir"/$pkgbase-$pkgver/kdepim.categories "$pkgdir"/etc/xdg
+}
diff --git a/nonprism/kdepim/akregator.install b/nonprism/kdepim/akregator.install
new file mode 100644
index 000000000..5787df72f
--- /dev/null
+++ b/nonprism/kdepim/akregator.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdepim/kaddressbook.install b/nonprism/kdepim/kaddressbook.install
new file mode 100644
index 000000000..5c501dc49
--- /dev/null
+++ b/nonprism/kdepim/kaddressbook.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdepim/kdepim.install b/nonprism/kdepim/kdepim.install
new file mode 100644
index 000000000..e9e8b444b
--- /dev/null
+++ b/nonprism/kdepim/kdepim.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdepim/kmail.install b/nonprism/kdepim/kmail.install
new file mode 100644
index 000000000..5787df72f
--- /dev/null
+++ b/nonprism/kdepim/kmail.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdepim/knode.install b/nonprism/kdepim/knode.install
new file mode 100644
index 000000000..5787df72f
--- /dev/null
+++ b/nonprism/kdepim/knode.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/nonprism/kdepim/korganizer.install b/nonprism/kdepim/korganizer.install
new file mode 100644
index 000000000..5787df72f
--- /dev/null
+++ b/nonprism/kdepim/korganizer.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}