diff options
Diffstat (limited to 'extra/kdeutils-kwalletmanager')
-rw-r--r-- | extra/kdeutils-kwalletmanager/PKGBUILD | 36 | ||||
-rw-r--r-- | extra/kdeutils-kwalletmanager/kdeutils-kwalletmanager.install | 12 |
2 files changed, 48 insertions, 0 deletions
diff --git a/extra/kdeutils-kwalletmanager/PKGBUILD b/extra/kdeutils-kwalletmanager/PKGBUILD new file mode 100644 index 000000000..889c6769a --- /dev/null +++ b/extra/kdeutils-kwalletmanager/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 207091 2014-03-06 12:08:15Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdeutils-kwalletmanager +pkgver=4.12.3 +pkgrel=1 +pkgdesc='Wallet Management Tool' +url='http://kde.org/applications/system/kwalletmanager/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +groups=('kde' 'kdeutils') +conflicts=('kdeutils-kwallet') +replaces=('kdeutils-kwallet') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kwalletmanager-${pkgver}.tar.xz") +sha1sums=('1f112b190f76a135499f53b4603aa61b550b2940') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../kwalletmanager-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/extra/kdeutils-kwalletmanager/kdeutils-kwalletmanager.install b/extra/kdeutils-kwalletmanager/kdeutils-kwalletmanager.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdeutils-kwalletmanager/kdeutils-kwalletmanager.install @@ -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 +} |