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

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


    Date: Sunday, July 24, 2011 @ 20:15:07
  Author: andrea
Revision: 132621

move pkgbuilds to trunk; cleanup

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

----------------------------+
 PKGBUILD                   |   31 +++++++++++++++++++++++++++++++
 kdegraphics-kruler.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Copied: kdegraphics-kruler/trunk/PKGBUILD (from rev 132557, kdegraphics-kruler/kde-unstable/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-07-25 00:15:07 UTC (rev 132621)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdegraphics-kruler
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="Screen Ruler"
+url="http://kde.org/applications/graphics/kruler/"
+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/stable/${pkgver}/src/kruler-${pkgver}.tar.bz2")
+sha1sums=('d77be8bc37dc684253b0f18952ad463908d55561')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kruler-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

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