Date: Sunday, March 27, 2016 @ 13:33:57 Author: arojas Revision: 262806
Add standalone kleopatra package Added: kleopatra/ kleopatra/kde-unstable/ kleopatra/kde-unstable/PKGBUILD kleopatra/kde-unstable/kleopatra.install -------------------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ kleopatra.install | 12 ++++++++++++ 2 files changed, 48 insertions(+) Added: kleopatra/kde-unstable/PKGBUILD =================================================================== --- kleopatra/kde-unstable/PKGBUILD (rev 0) +++ kleopatra/kde-unstable/PKGBUILD 2016-03-27 11:33:57 UTC (rev 262806) @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 262594 2016-03-26 20:49:29Z arojas $ +# Maintainer: Antonio Roja <[email protected]> + +pkgname=kleopatra +pkgver=16.03.80 +pkgrel=1 +pkgdesc='Certificate Manager and Unified Crypto GUI' +arch=(i686 x86_64) +url='https://www.kde.org/applications/utilities/kleopatra/' +license=(GPL LGPL FDL) +depends=(hicolor-icon-theme libkleo kcmutils kmime) +makedepends=(extra-cmake-modules kdoctools boost) +groups=(kde-applications kdepim) +install=$pkgname.install +source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha1sums=('29ec5406cbad371fb9ea9a4ed96878c1fef45db0') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} Added: kleopatra/kde-unstable/kleopatra.install =================================================================== --- kleopatra/kde-unstable/kleopatra.install (rev 0) +++ kleopatra/kde-unstable/kleopatra.install 2016-03-27 11:33:57 UTC (rev 262806) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
