diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-07 03:09:25 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-07 03:09:25 +0000 |
commit | bd65dc7107bfdd881c3b5451d0300824cf435428 (patch) | |
tree | e3a556d41162da07c82e31daa6fc22af18719e63 /staging/kdepimlibs | |
parent | 415856bdd4f48ab4f2732996f0bae58595092bbe (diff) |
Thu Apr 7 03:09:43 UTC 2011
Diffstat (limited to 'staging/kdepimlibs')
-rw-r--r-- | staging/kdepimlibs/PKGBUILD | 33 | ||||
-rw-r--r-- | staging/kdepimlibs/kdepimlibs.install | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/staging/kdepimlibs/PKGBUILD b/staging/kdepimlibs/PKGBUILD new file mode 100644 index 000000000..67acd0465 --- /dev/null +++ b/staging/kdepimlibs/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 118062 2011-04-05 10:07:41Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=kdepimlibs +pkgver=4.6.2 +pkgrel=1 +pkgdesc="KDE PIM Libraries" +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL') +depends=('kdelibs' 'gpgme' 'akonadi' 'libical' ) +makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap' + 'docbook-xsl') +install='kdepimlibs.install' +source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('f3c78688203b90efabdd8961783e8f4d16d9c57c') + +build() { + 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/staging/kdepimlibs/kdepimlibs.install b/staging/kdepimlibs/kdepimlibs.install new file mode 100644 index 000000000..99262607c --- /dev/null +++ b/staging/kdepimlibs/kdepimlibs.install @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |