2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-10 05:07:08 +08:00
|
|
|
source ../kdeapps.conf
|
2010-05-24 23:27:39 +08:00
|
|
|
|
2015-08-11 05:26:57 +08:00
|
|
|
pkgbase=kdepim
|
2016-03-30 01:04:48 +08:00
|
|
|
pkgname=(akonadiconsole akregator blogilo kdepim-console kaddressbook kalarm kmail knotes kontact korganizer ktnef kdepim-common)
|
2015-08-11 05:26:57 +08:00
|
|
|
pkgver=${_kdever}
|
2016-04-10 19:16:03 +08:00
|
|
|
pkgrel=1
|
2013-12-21 20:40:43 +08:00
|
|
|
arch=('x86_64')
|
2015-08-11 05:26:57 +08:00
|
|
|
url='http://pim.kde.org'
|
2015-04-10 05:07:08 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2015-08-11 05:26:57 +08:00
|
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdepim')
|
2016-04-17 20:50:48 +08:00
|
|
|
makedepends=(libkdepim extra-cmake-modules kdepim-runtime qt5-tools grantlee-qt5 kdoctools knewstuff khtml ktexteditor kdnssd kldap libktnef boost gpgmepp kontactinterface kxmlrpcclient kblog akonadi-search libgravatar mailimporter mailcommon incidenceeditor libksieve kdepim-addons)
|
2015-08-11 05:26:57 +08:00
|
|
|
options=('docs' 'debug')
|
2016-04-10 19:16:03 +08:00
|
|
|
source=("$_mirror/${pkgbase}-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep " ${pkgbase}-$_kdever.tar.xz" ../checksums.txt | cut -d " " -f1`)
|
2010-05-24 23:27:39 +08:00
|
|
|
|
2013-12-21 20:40:43 +08:00
|
|
|
prepare() {
|
2016-03-29 03:54:44 +08:00
|
|
|
mkdir -p build
|
2016-03-30 02:28:14 +08:00
|
|
|
cd ${srcdir}/${pkgbase}-${pkgver}
|
2013-12-21 20:40:43 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
build() {
|
2016-03-29 03:54:44 +08:00
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgbase}-${pkgver}
|
|
|
|
make
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_akonadiconsole() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Akonadi Management and Debugging Console'
|
|
|
|
depends=(calendarsupport messagelib hicolor-icon-theme)
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url='http://pim.kde.org'
|
|
|
|
install='kdepim.install'
|
|
|
|
cd build/akonadiconsole
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_akregator() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='A Feed Reader for KDE'
|
|
|
|
depends=('kdepim-common' 'khtml' 'kontactinterface')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/internet/akregator/"
|
|
|
|
install='akregator.install'
|
|
|
|
cd build/akregator
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/akregator
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_blogilo() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='A KDE Blogging Client'
|
|
|
|
depends=('kdepim-common' 'kblog' 'ktexteditor')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/internet/blogilo/"
|
|
|
|
install='kdepim.install'
|
|
|
|
cd build/blogilo
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/blogilo
|
|
|
|
make DESTDIR="$pkgdir" install
|
2010-05-24 23:27:39 +08:00
|
|
|
}
|
|
|
|
|
2013-12-21 20:40:43 +08:00
|
|
|
package_kdepim-console() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Command line tool for accessing calendar files'
|
|
|
|
depends=('kdepim-common')
|
|
|
|
url='http://pim.kde.org'
|
|
|
|
install='kdepim.install'
|
|
|
|
cd build/console
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/konsolekalendar
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_kaddressbook() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Contact Manager'
|
|
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/office/kaddressbook/"
|
|
|
|
install='kaddressbook.install'
|
|
|
|
|
|
|
|
cd "$srcdir"/build/kaddressbook
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_kalarm() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Personal Alarm Scheduler'
|
|
|
|
depends=('kdepim-common')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/utilities/kalarm/"
|
|
|
|
install='kdepim.install'
|
|
|
|
cd build/kalarm
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/kalarm
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_kmail() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Mail Client'
|
|
|
|
depends=(kdepim-common kontactinterface kio-pim libksieve)
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/internet/kmail/"
|
|
|
|
install='kmail.install'
|
|
|
|
|
2016-08-04 19:44:34 +08:00
|
|
|
for _i in kmail accountwizard \
|
2016-03-29 03:54:44 +08:00
|
|
|
storageservicemanager importwizard grantleeeditor mboximporter sieveeditor; do
|
|
|
|
cd "$srcdir"/build/$_i
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
done
|
|
|
|
|
|
|
|
for _i in akonadi_archivemail_agent kmail importwizard sieveeditor; do
|
|
|
|
cd "$srcdir"/build/doc/$_i
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
done
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_knotes() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Popup Notes'
|
|
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/utilities/knotes/"
|
|
|
|
install='kdepim.install'
|
|
|
|
|
|
|
|
cd "$srcdir"/build/knotes
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
|
|
|
|
for _i in knotes akonadi_notes_agent; do
|
|
|
|
cd "$srcdir"/build/doc/$_i
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
done
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_kontact() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Personal Information Manager'
|
|
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/office/kontact/"
|
|
|
|
install='kdepim.install'
|
|
|
|
cd build/kontact
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/kontact
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/kontact-admin
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_korganizer() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='Calendar and Scheduling Program'
|
|
|
|
depends=('kdepim-common' 'kontactinterface')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="http://kde.org/applications/office/korganizer"
|
|
|
|
install='korganizer.install'
|
2016-08-04 19:44:34 +08:00
|
|
|
|
|
|
|
cd "$srcdir"/build/korganizer
|
2015-08-11 05:26:57 +08:00
|
|
|
make DESTDIR="$pkgdir" install
|
2016-08-04 19:44:34 +08:00
|
|
|
|
2016-03-29 03:54:44 +08:00
|
|
|
cd "$srcdir"/build/doc/korganizer
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package_ktnef() {
|
2016-03-29 03:54:44 +08:00
|
|
|
pkgdesc='A viewer/extractor for TNEF files'
|
|
|
|
depends=('libktnef' 'hicolor-icon-theme')
|
|
|
|
conflicts=("kdepim-$pkgname")
|
|
|
|
replaces=("kdepim-$pkgname")
|
|
|
|
url="https://projects.kde.org/projects/kde/kdepim/ktnef"
|
|
|
|
install=ktnef.install
|
|
|
|
cd build/ktnef
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
cd "$srcdir"/build/doc/ktnef
|
|
|
|
make DESTDIR="$pkgdir" install
|
2015-08-11 05:26:57 +08:00
|
|
|
}
|
|
|
|
|
2016-03-30 01:04:48 +08:00
|
|
|
package_kdepim-common() {
|
|
|
|
pkgdesc='Common libraries and resources for KDE PIM applications'
|
2016-04-17 20:50:48 +08:00
|
|
|
depends=(incidenceeditor mailcommon kdepim-runtime kdnssd libktnef libkdepim kdepim-addons)
|
2016-03-30 01:04:48 +08:00
|
|
|
url='http://pim.kde.org'
|
|
|
|
install=kdepim.install
|
2016-08-04 19:44:34 +08:00
|
|
|
for _i in accountwizard pimsettingexporter; do
|
2016-03-30 01:04:48 +08:00
|
|
|
cd "$srcdir"/build/$_i
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
done
|
|
|
|
for _i in akonadi_sendlater_agent akonadi_followupreminder_agent contactthemeeditor headerthemeeditor pimsettingexporter; do
|
|
|
|
cd "$srcdir"/build/doc/$_i
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
done
|
2010-05-24 23:27:39 +08:00
|
|
|
}
|
2016-03-30 01:04:48 +08:00
|
|
|
|