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

Andrea Scarpino andrea at archlinux.org
Sun Jul 24 20:15:13 EDT 2011


    Date: Sunday, July 24, 2011 @ 20:15:13
  Author: andrea
Revision: 132623

move pkgbuilds to trunk; cleanup

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

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

Copied: kdegraphics-ksnapshot/trunk/PKGBUILD (from rev 132557, kdegraphics-ksnapshot/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:15:13 UTC (rev 132623)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-ksnapshot
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="Screen Capture Program"
+url="http://kde.org/applications/graphics/ksnapshot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdegraphics')
+depends=('kdelibs' 'libkipi')
+makedepends=('cmake' 'automoc4')
+optdepends=('kipi-plugins')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/ksnapshot-${pkgver}.tar.bz2")
+sha1sums=('771002ae1b047ffc850060f128f11514a3349f89')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../ksnapshot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

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