summaryrefslogtreecommitdiff
path: root/testing/kdepimlibs
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-11 22:48:58 +0000
committerroot <root@rshg047.dnsready.net>2011-06-11 22:48:58 +0000
commite392819937e37aa7f33ba83bb3e23bb1ccabaa37 (patch)
tree973aad7153fa658dce8cc60d9fc78f41c2dfa578 /testing/kdepimlibs
parent8bb6e3c7e5bec1adf2c819a1985de4d1f3347fb6 (diff)
Sat Jun 11 22:48:58 UTC 2011
Diffstat (limited to 'testing/kdepimlibs')
-rw-r--r--testing/kdepimlibs/PKGBUILD32
-rw-r--r--testing/kdepimlibs/kdepimlibs.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/kdepimlibs/PKGBUILD b/testing/kdepimlibs/PKGBUILD
new file mode 100644
index 000000000..84a193b31
--- /dev/null
+++ b/testing/kdepimlibs/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 126528 2011-06-06 06:05:50Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=kdepimlibs
+pkgver=4.6.4
+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')
+install='kdepimlibs.install'
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('b7e48da0a3fa9c4d435ed2224909a5441450334f')
+
+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/testing/kdepimlibs/kdepimlibs.install b/testing/kdepimlibs/kdepimlibs.install
new file mode 100644
index 000000000..99262607c
--- /dev/null
+++ b/testing/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