diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-30 20:22:50 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-06-30 20:27:57 -0300 |
commit | fb06700e803e92c6e67caf33a1b9aac95ba90cc3 (patch) | |
tree | 4d42311ef2a1c4c44b1afda0faa885e7f3b0370d | |
parent | f31b8ef1bd49fd731d01564ad16c82eaffee6c59 (diff) | |
download | abslibre-fb06700e803e92c6e67caf33a1b9aac95ba90cc3.tar.gz abslibre-fb06700e803e92c6e67caf33a1b9aac95ba90cc3.tar.bz2 abslibre-fb06700e803e92c6e67caf33a1b9aac95ba90cc3.zip |
kdepim-kmail-nonprism: add new package to [nonprism], fix issue #564 => https://labs.parabola.nu/issues/564
-rw-r--r-- | nonprism/kdepim-kmail-nonprism/PKGBUILD | 47 | ||||
-rw-r--r-- | nonprism/kdepim-kmail-nonprism/kdepim-kmail.install | 12 |
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 +} |