diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-30 12:51:06 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-01-30 12:51:06 +0100 |
commit | e8a18157bce8e0b0cbde5bd52aaf5ae0940297d3 (patch) | |
tree | 89fc1343a6302c7ee5d72774fde0f5b67d0b1927 /extra/kdeutils-kgpg | |
parent | 6d4537b67f90b1decadcf8434e1a5bdcb6694f7f (diff) | |
parent | 39711f3264d3b9de2ff6392649274d6333932457 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/arpack/PKGBUILD
extra/gtk2/PKGBUILD
extra/kdeadmin/PKGBUILD
extra/kdelibs/PKGBUILD
extra/kdeplasma-addons/PKGBUILD
staging/digikam/PKGBUILD
testing/curl/PKGBUILD
Diffstat (limited to 'extra/kdeutils-kgpg')
-rw-r--r-- | extra/kdeutils-kgpg/PKGBUILD | 33 | ||||
-rw-r--r-- | extra/kdeutils-kgpg/kdeutils-kgpg.install | 12 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/kdeutils-kgpg/PKGBUILD b/extra/kdeutils-kgpg/PKGBUILD new file mode 100644 index 000000000..ae3f7c322 --- /dev/null +++ b/extra/kdeutils-kgpg/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 147917 2012-01-28 10:37:00Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdeutils-kgpg +pkgver=4.8.0 +pkgrel=1 +pkgdesc='A GnuPG frontend' +url='http://kde.org/applications/utilities/kgpg/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +depends=('kdepim-runtime' 'kde-agent') +makedepends=('cmake' 'automoc4') +groups=('kde' 'kdeutils') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kgpg-${pkgver}.tar.bz2") +sha1sums=('4edbfa73c62fdd99f87b5b42dd7f1330dc8f5986') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../kgpg-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd $srcdir/build + make DESTDIR=$pkgdir install + cd $srcdir/build/doc + make DESTDIR=$pkgdir install +} diff --git a/extra/kdeutils-kgpg/kdeutils-kgpg.install b/extra/kdeutils-kgpg/kdeutils-kgpg.install new file mode 100644 index 000000000..81ce5c4b0 --- /dev/null +++ b/extra/kdeutils-kgpg/kdeutils-kgpg.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 +} |