PKGBUILDs/extra/kdepim/PKGBUILD

198 lines
5.5 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 54215 2009-10-07 10:18:33Z andrea $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgbase=kdepim
pkgname=('kdepim-akregator'
'kdepim-console'
'kdepim-kaddressbook'
'kdepim-kalarm'
'kdepim-kjots'
'kdepim-kleopatra'
'kdepim-kmail'
'kdepim-knode'
'kdepim-knotes'
'kdepim-kontact'
'kdepim-korganizer'
'kdepim-kpilot'
'kdepim-kresources'
'kdepim-ktimetracker'
'kdepim-libkdepim'
'kdepim-wizards')
pkgver=4.3.2
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdepim')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'kdelibs-experimental' 'kdepimlibs' 'kdepim-runtime' 'gnokii' 'libxss' 'kdebase-runtime' 'pilot-link' 'kde-agent')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
md5sums=('7e6a672bd681b2f19502798d7ed73fe8')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package_kdepim-akregator() {
pkgdesc='A Feed Reader for KDE'
depends=('kdepim-libkdepim' 'kdebase-runtime')
install='kdepim.install'
cd $srcdir/build/akregator
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/akregator
make DESTDIR=$pkgdir install
}
package_kdepim-console() {
pkgdesc='Command line tool for accessing calendar files'
depends=('kdepim-libkdepim' 'kdebase-runtime')
cd $srcdir/build/console
make DESTDIR=$pkgdir install
}
package_kdepim-kaddressbook() {
pkgdesc='Address Manager'
depends=('kdepim-libkdepim' 'kdebase-runtime' 'gnokii')
install='kdepim.install'
cd $srcdir/build/kaddressbook
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kaddressbook
make DESTDIR=$pkgdir install
}
package_kdepim-kalarm() {
pkgdesc='Personal Alarm Scheduler'
depends=('kdepim-libkdepim' 'kdebase-runtime')
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' 'kdebase-runtime')
install='kdepim.install'
cd $srcdir/build/kjots
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kjots
make DESTDIR=$pkgdir install
}
package_kdepim-kleopatra() {
pkgdesc='Kleopatra Sign/Encrypt Files'
depends=('kdepim-libkdepim' 'kdebase-runtime')
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' 'kdebase-runtime')
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 mimelib libksieve plugins ksendemail kmailcvt; do
cd $srcdir/build/${i}
make DESTDIR=$pkgdir install
done
}
package_kdepim-knode() {
pkgdesc='News Reader'
depends=('kdebase-runtime' 'kdepim-libkdepim')
install='kdepim.install'
cd $srcdir/build/knode
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/knode
make DESTDIR=$pkgdir install
}
package_kdepim-knotes() {
pkgdesc='Popup Notes'
depends=('kdepim-libkdepim' 'kdebase-runtime')
install='kdepim.install'
cd $srcdir/build/knotes
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/knotes
make DESTDIR=$pkgdir install
}
package_kdepim-kontact() {
pkgdesc='Personal Information Manager'
depends=('kdebase-runtime' 'kdepim-korganizer')
install='kdepim.install'
conflcits=('kdepim-kontactinterfaces')
replaces=('kdepim-kontactinterfaces')
for i in kontact doc/kontact kontactinterfaces; do
cd $srcdir/build/${i}
make DESTDIR=$pkgdir install
done
}
package_kdepim-korganizer() {
pkgdesc='Calendar and Scheduling Program'
depends=('kdepim-libkdepim' 'kdebase-runtime' 'kdelibs-experimental')
install='kdepim.install'
cd $srcdir/build/korganizer
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/korganizer
make DESTDIR=$pkgdir install
}
package_kdepim-kpilot() {
pkgdesc='PalmPilot Tool'
depends=('kdepimlibs' 'kdebase-runtime' 'pilot-link')
install='kdepim.install'
cd $srcdir/build/kpilot
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/kpilot
make DESTDIR=$pkgdir install
}
package_kdepim-kresources() {
pkgdesc='KDE PIM resources'
depends=('kdebase-runtime' 'kdepim-runtime' 'kdepim-kaddressbook')
cd $srcdir/build/kresources
make DESTDIR=$pkgdir install
}
package_kdepim-ktimetracker() {
pkgdesc='Personal Time Tracker'
depends=('kdebase-runtime' 'kdepim-libkdepim' 'kdepim-kresources' 'libxss')
install='kdepim.install'
cd $srcdir/build/ktimetracker
make DESTDIR=$pkgdir install
cd $srcdir/build/doc/ktimetracker
make DESTDIR=$pkgdir install
}
package_kdepim-libkdepim() {
pkgdesc='Library for KDE PIM'
groups=()
depends=('kdepimlibs' 'kde-agent')
conflicts=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp' 'kdepim-strigi-analyzer')
replaces=('kdepim-icons' 'kdepim-libkleo' 'kdepim-libkpgp' 'kdepim-strigi-analyzer')
for i in libkdepim icons libkleo libkpgp strigi-analyzer; do
cd $srcdir/build/${i}
make DESTDIR=$pkgdir install
done
}
package_kdepim-wizards() {
pkgdesc='KDE Groupware Wizard'
depends=('kdebase-runtime' 'kdepim-libkdepim' 'kdepim-kresources')
cd $srcdir/build/wizards
make DESTDIR=$pkgdir install
}