diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /kde-unstable |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'kde-unstable')
-rw-r--r-- | kde-unstable/kdepim-runtime/PKGBUILD | 38 | ||||
-rw-r--r-- | kde-unstable/kdepim-runtime/disable-l10n.patch | 10 | ||||
-rw-r--r-- | kde-unstable/kdepim-runtime/kdepim-runtime.install | 12 | ||||
-rw-r--r-- | kde-unstable/kdepim/PKGBUILD | 257 | ||||
-rw-r--r-- | kde-unstable/kdepim/disable-l10n.patch | 10 | ||||
-rw-r--r-- | kde-unstable/kdepim/kdepim.install | 11 |
6 files changed, 338 insertions, 0 deletions
diff --git a/kde-unstable/kdepim-runtime/PKGBUILD b/kde-unstable/kdepim-runtime/PKGBUILD new file mode 100644 index 000000000..4aa696cfe --- /dev/null +++ b/kde-unstable/kdepim-runtime/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 99527 2010-11-14 22:37:20Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kdepim-runtime +pkgver=4.5.94.1 +pkgrel=2 +pkgdesc='KDE PIM Runtime Environment' +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL' 'FDL') +depends=('kdepimlibs' 'kdebase-runtime') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost') +install=${pkgname}.install +#source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +source=("http://download.kde.org/unstable/kdepim/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2" + 'disable-l10n.patch') +sha1sums=('f226165cd7f92524be354329097e5009b5754046' + '991d81435205185dcb2285a6e728f7756ae92b0d') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + patch -Np0 -i ${srcdir}/disable-l10n.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install +} diff --git a/kde-unstable/kdepim-runtime/disable-l10n.patch b/kde-unstable/kdepim-runtime/disable-l10n.patch new file mode 100644 index 000000000..3ac9bc0e5 --- /dev/null +++ b/kde-unstable/kdepim-runtime/disable-l10n.patch @@ -0,0 +1,10 @@ +--- CMakeLists.txt~ 2011-01-30 06:27:14.403350537 -0800 ++++ CMakeLists.txt 2011-01-30 06:27:58.130017204 -0800 +@@ -192,7 +192,3 @@ + update_xdg_mimetypes(${XDG_MIME_INSTALL_DIR}) + + macro_display_feature_log() +- +-find_package(Msgfmt REQUIRED) +-find_package(Gettext REQUIRED) +-add_subdirectory(po) diff --git a/kde-unstable/kdepim-runtime/kdepim-runtime.install b/kde-unstable/kdepim-runtime/kdepim-runtime.install new file mode 100644 index 000000000..ce5c32e1b --- /dev/null +++ b/kde-unstable/kdepim-runtime/kdepim-runtime.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file diff --git a/kde-unstable/kdepim/PKGBUILD b/kde-unstable/kdepim/PKGBUILD new file mode 100644 index 000000000..904d4965b --- /dev/null +++ b/kde-unstable/kdepim/PKGBUILD @@ -0,0 +1,257 @@ +# $Id: PKGBUILD 108250 2011-01-30 15:05:18Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgbase=kdepim +pkgname=('kdepim-akonadiconsole' + 'kdepim-akregator' + 'kdepim-blogilo' + 'kdepim-console' + 'kdepim-kaddressbook' + 'kdepim-kalarm' + 'kdepim-kjots' + 'kdepim-kleopatra' + 'kdepim-kmail' + 'kdepim-knode' + 'kdepim-knotes' + 'kdepim-kontact' + 'kdepim-korganizer' + 'kdepim-kresources' + 'kdepim-ktimetracker' + 'kdepim-libkdepim' + 'kdepim-wizards') +pkgver=4.5.94.1 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://pim.kde.org' +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdepim') +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' + 'pilot-link' 'kde-agent' 'docbook-xsl') +#source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") +source=("http://download.kde.org/unstable/${pkgbase}/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2" + 'disable-l10n.patch') +sha1sums=('0243aa59c3acd9c38403b3acddb33c22c9c39c65' + '25e36f160ced051268e59fad6ed2de33a9c7657a') + +build() { + cd "${srcdir}"/${pkgbase}-${pkgver} + patch -Np0 -i "${srcdir}"/disable-l10n.patch + + cd "${srcdir}" + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDEPIM_BUILD_MOBILE=OFF + make +} + +package_kdepim-akonadiconsole() { + pkgdesc='Akonadi Management and Debugging Console' + depends=('kdepim-libkdepim') + url='http://pim.kde.org' + install='kdepim.install' + cd $srcdir/build/akonadiconsole + make DESTDIR=$pkgdir install +} + +package_kdepim-akregator() { + pkgdesc='A Feed Reader for KDE' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/internet/akregator/" + install='kdepim.install' + cd $srcdir/build/akregator + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/akregator + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/akregator + make DESTDIR=$pkgdir install +} + +package_kdepim-blogilo() { + pkgdesc='A KDE Blogging Client' + depends=('kdepim-runtime') + url="http://kde.org/applications/internet/blogilo/" + replaces=('blogilo') + conflicts=('blogilo') + install='kdepim.install' + cd $srcdir/build/blogilo + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/blogilo + make DESTDIR=$pkgdir install +} + +package_kdepim-console() { + pkgdesc='Command line tool for accessing calendar files' + depends=('kdepim-runtime') + url='http://pim.kde.org' + install='kdepim.install' + cd $srcdir/build/console + make DESTDIR=$pkgdir install +} + +package_kdepim-kaddressbook() { + pkgdesc='Contact Manager' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/office/kaddressbook/" + install='kdepim.install' + cd $srcdir/build/kaddressbook + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/kaddressbook + make DESTDIR=$pkgdir install + cd $srcdir/build/plugins/kaddressbook + make DESTDIR=$pkgdir install +} + +package_kdepim-kalarm() { + pkgdesc='Personal Alarm Scheduler' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/utilities/kalarm/" + install='kdepim.install' + cd $srcdir/build/kalarm + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kalarm + make DESTDIR=$pkgdir install +} + +package_kdepim-kjots() { + pkgdesc='Note Taker' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/utilities/kjots/" + install='kdepim.install' + cd $srcdir/build/kjots + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kjots + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/kjots + make DESTDIR=$pkgdir install +} + +package_kdepim-kleopatra() { + pkgdesc='Certificate Manager and Unified Crypto GUI' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/utilities/kleopatra/" + cd $srcdir/build/kleopatra + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/kleopatra + make DESTDIR=$pkgdir install +} + +package_kdepim-kmail() { + pkgdesc='Mail Client' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/internet/kmail/" + install='kdepim.install' + conflicts=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' + 'kdepim-mimelib' 'kdepim-plugins') + replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' + 'kdepim-mimelib' 'kdepim-plugins') + for i in kmail doc/kmail kmailcvt ksendemail libksieve mailcommon \ + nepomuk_email_feeder ontologies templateparser kontact/plugins/kmail; do + cd $srcdir/build/${i} + make DESTDIR=$pkgdir install + done +} + +package_kdepim-knode() { + pkgdesc='News Reader' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/internet/knode/" + install='kdepim.install' + cd $srcdir/build/knode + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/knode + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/knode + make DESTDIR=$pkgdir install +} + +package_kdepim-knotes() { + pkgdesc='Popup Notes' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/utilities/knotes/" + install='kdepim.install' + cd $srcdir/build/knotes + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/knotes + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/knotes + make DESTDIR=$pkgdir install +} + +package_kdepim-kontact() { + pkgdesc='Personal Information Manager' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/office/kontact/" + install='kdepim.install' + conflcits=('kdepim-kontactinterfaces') + replaces=('kdepim-kontactinterfaces') + for i in kontact/src kontact/pics doc/kontact \ + kontact/plugins/summary kontact/plugins/specialdates; do + cd $srcdir/build/${i} + make DESTDIR=$pkgdir install + done +} + +package_kdepim-korganizer() { + pkgdesc='Calendar and Scheduling Program' + depends=('kdepim-libkdepim') + url="http://kde.org/applications/office/korganizer" + install='kdepim.install' + cd $srcdir/build/korganizer + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/korganizer + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/korganizer + make DESTDIR=$pkgdir install +} + +package_kdepim-kresources() { + pkgdesc='KDE PIM resources' + depends=('kdepim-libkdepim') + url='http://pim.kde.org' + cd $srcdir/build/kresources + make DESTDIR=$pkgdir install +} + +package_kdepim-ktimetracker() { + pkgdesc='Personal Time Tracker' + depends=('kdepim-kresources') + url="http://kde.org/applications/utilities/ktimetracker/" + install='kdepim.install' + cd $srcdir/build/ktimetracker + make DESTDIR=$pkgdir install + cd $srcdir/build/doc/ktimetracker + make DESTDIR=$pkgdir install + cd $srcdir/build/kontact/plugins/ktimetracker + make DESTDIR=$pkgdir install +} + +package_kdepim-libkdepim() { + pkgdesc='Library for KDE PIM' + groups=() + depends=('kde-agent' 'kdepim-runtime') + url='http://pim.kde.org' + conflicts=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp' + 'kdepim-strigi-analyzer' 'kdepim-akonadi') + replaces=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp' + 'kdepim-strigi-analyzer' 'kdepim-akonadi') + for i in akonadi_next calendarsupport calendarviews incidenceeditor-ng \ + kdgantt2 libkdepim libkdepimdbusinterfaces libkleo libkpgp \ + messagecomposer messagecore messagelist messageviewer icons \ + strigi-analyzer plugins/messageviewer plugins/ktexteditor; do + cd $srcdir/build/${i} + make DESTDIR=$pkgdir install + done +} + +package_kdepim-wizards() { + pkgdesc='KDE Groupware Wizard' + depends=('kdepim-kresources') + url='http://pim.kde.org' + cd $srcdir/build/wizards + make DESTDIR=$pkgdir install +} diff --git a/kde-unstable/kdepim/disable-l10n.patch b/kde-unstable/kdepim/disable-l10n.patch new file mode 100644 index 000000000..3f218d532 --- /dev/null +++ b/kde-unstable/kdepim/disable-l10n.patch @@ -0,0 +1,10 @@ +--- CMakeLists.txt~ 2011-01-30 06:31:02.180017202 -0800 ++++ CMakeLists.txt 2011-01-30 06:31:26.093350537 -0800 +@@ -423,7 +423,3 @@ + endif(NOT QGPGME_FOUND) + # All done, let's display what we found... + macro_display_feature_log() +-find_package(Msgfmt REQUIRED) +-find_package(Gettext REQUIRED) +-add_subdirectory(po) +-add_subdirectory(doc-translations) diff --git a/kde-unstable/kdepim/kdepim.install b/kde-unstable/kdepim/kdepim.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/kde-unstable/kdepim/kdepim.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |