desktop/kdepim/PKGBUILD

195 lines
5.9 KiB
Bash
Raw Normal View History

2013-12-18 02:36:04 +08:00
# Include global configuration
source ../kdeapps.conf
2010-05-24 23:27:39 +08:00
pkgbase=kdepim
pkgname=(akonadiconsole akregator blogilo kdepim-console kaddressbook kalarm kmail knotes kontact korganizer ktnef kdepim-common)
pkgver=${_kdever}
pkgrel=1
2013-12-21 20:40:43 +08:00
arch=('x86_64')
url='http://pim.kde.org'
license=('GPL' 'LGPL' 'FDL')
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)
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
}
build() {
2016-03-29 03:54:44 +08:00
cd build
cmake_kf5 ../${pkgbase}-${pkgver}
make
}
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
}
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
}
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
}
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
}
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
}
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-05 22:13:27 +08:00
for _i in kmail storageservicemanager importwizard grantleeeditor mboximporter sieveeditor; do
2016-03-29 03:54:44 +08:00
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
}
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
}
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
}
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
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
}
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
}
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)
url='http://pim.kde.org'
install=kdepim.install
2016-08-04 19:44:34 +08:00
for _i in accountwizard pimsettingexporter; do
2016-08-05 22:13:27 +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
}