[arch-commits] Commit in kdeutils-kcalc/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 16:16:48 UTC 2011


    Date: Thursday, November 24, 2011 @ 11:16:47
  Author: andrea
Revision: 143428

db-move: moved kdeutils-kcalc from [staging] to [kde-unstable] (x86_64)

Added:
  kdeutils-kcalc/repos/kde-unstable-x86_64/
  kdeutils-kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, kdeutils-kcalc/repos/staging-x86_64/PKGBUILD)
  kdeutils-kcalc/repos/kde-unstable-x86_64/kdeutils-kcalc.install
    (from rev 143277, kdeutils-kcalc/repos/staging-x86_64/kdeutils-kcalc.install)
Deleted:
  kdeutils-kcalc/repos/staging-x86_64/

------------------------+
 PKGBUILD               |   33 +++++++++++++++++++++++++++++++++
 kdeutils-kcalc.install |   11 +++++++++++
 2 files changed, 44 insertions(+)

Copied: kdeutils-kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdeutils-kcalc/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:16:47 UTC (rev 143428)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.7.80
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='http://kde.org/applications/utilities/kcalc'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+groups=('kde' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kcalc-${pkgver}.tar.bz2")
+sha1sums=('0fce57dbbd39028bb3b5749959368c35d8aa0442')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kcalc-${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-kcalc/repos/kde-unstable-x86_64/kdeutils-kcalc.install (from rev 143277, kdeutils-kcalc/repos/staging-x86_64/kdeutils-kcalc.install)
===================================================================
--- kde-unstable-x86_64/kdeutils-kcalc.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeutils-kcalc.install	2011-11-24 16:16:47 UTC (rev 143428)
@@ -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