diff options
author | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-07 22:47:46 +0000 |
commit | 4d91fc9a2dc38054b8748f27193dc3a6950bda3c (patch) | |
tree | d7af2e15a96d98c0495de0d066c0204c6947778c /staging/kdepimlibs | |
parent | 93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff) |
Tue Jun 7 22:47:46 UTC 2011
Diffstat (limited to 'staging/kdepimlibs')
-rw-r--r-- | staging/kdepimlibs/PKGBUILD | 32 | ||||
-rw-r--r-- | staging/kdepimlibs/kdepimlibs.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/staging/kdepimlibs/PKGBUILD b/staging/kdepimlibs/PKGBUILD new file mode 100644 index 000000000..84a193b31 --- /dev/null +++ b/staging/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/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 |