From 5894dd675f4bd3ba296d262fae99b3b87a0f87fd Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Nov 2011 23:14:53 +0000 Subject: Thu Nov 24 23:14:53 UTC 2011 --- staging/kdepimlibs/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ staging/kdepimlibs/kdepimlibs.install | 11 +++++++++++ 2 files changed, 43 insertions(+) create mode 100644 staging/kdepimlibs/PKGBUILD create mode 100644 staging/kdepimlibs/kdepimlibs.install (limited to 'staging/kdepimlibs') diff --git a/staging/kdepimlibs/PKGBUILD b/staging/kdepimlibs/PKGBUILD new file mode 100644 index 000000000..fe1a9ff50 --- /dev/null +++ b/staging/kdepimlibs/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 143117 2011-11-23 07:37:23Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Pierre Schmitz + +pkgname=kdepimlibs +pkgver=4.7.80 +pkgrel=1 +pkgdesc="KDE PIM Libraries" +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL') +depends=('kdelibs' 'gpgme' 'akonadi' 'libical' 'prison') +makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl' 'openldap') +install='kdepimlibs.install' +source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('8c32406b85cf9677b7bebeb61cf50621dd034787') + +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 -- cgit v1.2.3-54-g00ecf