[arch-commits] Commit in kdegraphics-gwenview/trunk (2 files)

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:14:54 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:14:53
  Author: andrea
Revision: 132616

move pkgbuilds to trunk; cleanup

Added:
  kdegraphics-gwenview/trunk/PKGBUILD
    (from rev 132557, kdegraphics-gwenview/kde-unstable/PKGBUILD)
  kdegraphics-gwenview/trunk/kdegraphics-gwenview.install
    (from rev 132557, kdegraphics-gwenview/kde-unstable/kdegraphics-gwenview.install)

------------------------------+
 PKGBUILD                     |   32 ++++++++++++++++++++++++++++++++
 kdegraphics-gwenview.install |   12 ++++++++++++
 2 files changed, 44 insertions(+)

Copied: kdegraphics-gwenview/trunk/PKGBUILD (from rev 132557, kdegraphics-gwenview/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:14:53 UTC (rev 132616)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-gwenview
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="A fast and easy to use image viewer for KDE"
+url="http://kde.org/applications/graphics/gwenview/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdebase-lib' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins: extra plugins to share photos')
+install=$pkgname.install
+source=("http://download.kde.org/stable/${pkgver}/src/gwenview-${pkgver}.tar.bz2")
+sha1sums=('30058dc40ea6ae8e3298facb9582d6bf91753d8b')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../gwenview-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdegraphics-gwenview/trunk/kdegraphics-gwenview.install (from rev 132557, kdegraphics-gwenview/kde-unstable/kdegraphics-gwenview.install)
===================================================================
--- kdegraphics-gwenview.install	                        (rev 0)
+++ kdegraphics-gwenview.install	2011-07-25 00:14:53 UTC (rev 132616)
@@ -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