summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonprism/kdepim-kmail-nonprism/PKGBUILD47
-rw-r--r--nonprism/kdepim-kmail-nonprism/kdepim-kmail.install12
2 files changed, 59 insertions, 0 deletions
diff --git a/nonprism/kdepim-kmail-nonprism/PKGBUILD b/nonprism/kdepim-kmail-nonprism/PKGBUILD
new file mode 100644
index 000000000..517d629ae
--- /dev/null
+++ b/nonprism/kdepim-kmail-nonprism/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 214668 2014-06-09 03:18:28Z svenstaro $
+# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgbase=kdepim
+pkgname=kdepim-kmail-nonprism
+pkgver=4.13.2
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://pim.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdepim')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime-nonprism' 'libxss' 'pilot-link'
+ 'baloo' 'link-grammar')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
+sha1sums=('ecc10cdec4fbe9a8b2c8179921403cf9b3aedac9')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDEPIM_BUILD_MOBILE=OFF
+ make
+}
+
+package_kdepim-kmail-nonprism() {
+ pkgdesc='Mail Client, without libkgapi support'
+ depends=('kdepim-libkdepim' 'kde-agent')
+ url="http://kde.org/applications/internet/kmail/"
+ install='kdepim-kmail.install'
+ conflicts=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
+ 'kdepim-mimelib' 'kdepim-plugins' 'kdepim-kmail')
+ replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve'
+ 'kdepim-mimelib' 'kdepim-plugins' 'kdepim-kmail')
+ provides=("kdepim-kmail=$pkgver")
+ for i in kmail kmailcvt agents/archivemailagent storageservicemanager\
+ agents/mailfilteragent importwizard ksendemail libksieve messagelist \
+ kontact/plugins/kmail headerthemeeditor mboximporter; do
+ cd "${srcdir}"/build/${i}
+ make DESTDIR="${pkgdir}" install
+ done
+}
diff --git a/nonprism/kdepim-kmail-nonprism/kdepim-kmail.install b/nonprism/kdepim-kmail-nonprism/kdepim-kmail.install
new file mode 100644
index 000000000..5787df72f
--- /dev/null
+++ b/nonprism/kdepim-kmail-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
+}