summaryrefslogtreecommitdiff
path: root/kde-unstable/kdepimlibs
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
committerroot <root@rshg054.dnsready.net>2012-05-31 00:03:48 +0000
commitf1ae949e08a764ac063703dc9bb7f0afd7c16e96 (patch)
treeb542ace0cdaf945c5e495f31e3c87537017c614d /kde-unstable/kdepimlibs
parentf676c2f568b9c75daa3e2b688978b877f950953d (diff)
Thu May 31 00:03:48 UTC 2012
Diffstat (limited to 'kde-unstable/kdepimlibs')
-rw-r--r--kde-unstable/kdepimlibs/PKGBUILD31
-rw-r--r--kde-unstable/kdepimlibs/kdepimlibs.install11
2 files changed, 42 insertions, 0 deletions
diff --git a/kde-unstable/kdepimlibs/PKGBUILD b/kde-unstable/kdepimlibs/PKGBUILD
new file mode 100644
index 000000000..e82ec55d3
--- /dev/null
+++ b/kde-unstable/kdepimlibs/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 160077 2012-05-29 22:07:02Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=kdepimlibs
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="KDE PIM Libraries"
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/kdepimlibs'
+license=('GPL' 'LGPL')
+depends=('kdelibs' 'gpgme' 'akonadi' 'libical' 'prison')
+makedepends=('cmake' 'automoc4' 'boost' 'cyrus-sasl')
+install='kdepimlibs.install'
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('ae808daa00e5d8a5fa3f62777e311391d2412c7c')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/kde-unstable/kdepimlibs/kdepimlibs.install b/kde-unstable/kdepimlibs/kdepimlibs.install
new file mode 100644
index 000000000..99262607c
--- /dev/null
+++ b/kde-unstable/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