[arch-commits] Commit in kdeutils-kgpg/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Thu Nov 24 16:16:56 UTC 2011
Date: Thursday, November 24, 2011 @ 11:16:56
Author: andrea
Revision: 143436
db-move: moved kdeutils-kgpg from [staging] to [kde-unstable] (x86_64)
Added:
kdeutils-kgpg/repos/kde-unstable-x86_64/
kdeutils-kgpg/repos/kde-unstable-x86_64/PKGBUILD
(from rev 143277, kdeutils-kgpg/repos/staging-x86_64/PKGBUILD)
kdeutils-kgpg/repos/kde-unstable-x86_64/kdeutils-kgpg.install
(from rev 143277, kdeutils-kgpg/repos/staging-x86_64/kdeutils-kgpg.install)
Deleted:
kdeutils-kgpg/repos/staging-x86_64/
-----------------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
kdeutils-kgpg.install | 12 ++++++++++++
2 files changed, 45 insertions(+)
Copied: kdeutils-kgpg/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdeutils-kgpg/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2011-11-24 16:16:56 UTC (rev 143436)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kgpg
+pkgver=4.7.80
+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/unstable/${pkgver}/src/kgpg-${pkgver}.tar.bz2")
+sha1sums=('ee2143a2c5ecc04608e7b037a364b2f360d06574')
+
+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
+}
Copied: kdeutils-kgpg/repos/kde-unstable-x86_64/kdeutils-kgpg.install (from rev 143277, kdeutils-kgpg/repos/staging-x86_64/kdeutils-kgpg.install)
===================================================================
--- kde-unstable-x86_64/kdeutils-kgpg.install (rev 0)
+++ kde-unstable-x86_64/kdeutils-kgpg.install 2011-11-24 16:16:56 UTC (rev 143436)
@@ -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
+}
More information about the arch-commits
mailing list