[arch-commits] Commit in kdegraphics-kcolorchooser/repos (4 files)
Andrea Scarpino
andrea at archlinux.org
Thu Nov 24 16:16:00 UTC 2011
Date: Thursday, November 24, 2011 @ 11:15:59
Author: andrea
Revision: 143391
db-move: moved kdegraphics-kcolorchooser from [staging] to [kde-unstable] (i686)
Added:
kdegraphics-kcolorchooser/repos/kde-unstable-i686/
kdegraphics-kcolorchooser/repos/kde-unstable-i686/PKGBUILD
(from rev 143277, kdegraphics-kcolorchooser/repos/staging-i686/PKGBUILD)
kdegraphics-kcolorchooser/repos/kde-unstable-i686/kdegraphics-kcolorchooser.install
(from rev 143277, kdegraphics-kcolorchooser/repos/staging-i686/kdegraphics-kcolorchooser.install)
Deleted:
kdegraphics-kcolorchooser/repos/staging-i686/
-----------------------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
kdegraphics-kcolorchooser.install | 11 +++++++++++
2 files changed, 42 insertions(+)
Copied: kdegraphics-kcolorchooser/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdegraphics-kcolorchooser/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2011-11-24 16:15:59 UTC (rev 143391)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kcolorchooser
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Color Chooser"
+url="http://kde.org/applications/graphics/kcolorchooser/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kcolorchooser-${pkgver}.tar.bz2")
+sha1sums=('611ed0489f2b913d8bba4938bb250e5c93f7bc10')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kcolorchooser-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdegraphics-kcolorchooser/repos/kde-unstable-i686/kdegraphics-kcolorchooser.install (from rev 143277, kdegraphics-kcolorchooser/repos/staging-i686/kdegraphics-kcolorchooser.install)
===================================================================
--- kde-unstable-i686/kdegraphics-kcolorchooser.install (rev 0)
+++ kde-unstable-i686/kdegraphics-kcolorchooser.install 2011-11-24 16:15:59 UTC (rev 143391)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list