Date: Thursday, June 7, 2012 @ 17:06:01
  Author: andrea
Revision: 161052

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  kdeutils-kcalc/repos/staging-i686/
  kdeutils-kcalc/repos/staging-i686/PKGBUILD
    (from rev 161051, kdeutils-kcalc/trunk/PKGBUILD)
  kdeutils-kcalc/repos/staging-i686/kdeutils-kcalc.install
    (from rev 161051, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
  kdeutils-kcalc/repos/staging-x86_64/
  kdeutils-kcalc/repos/staging-x86_64/PKGBUILD
    (from rev 161051, kdeutils-kcalc/trunk/PKGBUILD)
  kdeutils-kcalc/repos/staging-x86_64/kdeutils-kcalc.install
    (from rev 161051, kdeutils-kcalc/trunk/kdeutils-kcalc.install)

---------------------------------------+
 staging-i686/PKGBUILD                 |   33 ++++++++++++++++++++++++++++++++
 staging-i686/kdeutils-kcalc.install   |   11 ++++++++++
 staging-x86_64/PKGBUILD               |   33 ++++++++++++++++++++++++++++++++
 staging-x86_64/kdeutils-kcalc.install |   11 ++++++++++
 4 files changed, 88 insertions(+)

Copied: kdeutils-kcalc/repos/staging-i686/PKGBUILD (from rev 161051, 
kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2012-06-07 21:06:01 UTC (rev 161052)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <[email protected]>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.4
+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/stable/${pkgver}/src/kcalc-${pkgver}.tar.xz";)
+sha1sums=('f1cb6cda210c67fd19eca387df2d2224393d45ef')
+
+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/staging-i686/kdeutils-kcalc.install (from rev 
161051, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-i686/kdeutils-kcalc.install                         (rev 0)
+++ staging-i686/kdeutils-kcalc.install 2012-06-07 21:06:01 UTC (rev 161052)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Copied: kdeutils-kcalc/repos/staging-x86_64/PKGBUILD (from rev 161051, 
kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2012-06-07 21:06:01 UTC (rev 161052)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <[email protected]>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.4
+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/stable/${pkgver}/src/kcalc-${pkgver}.tar.xz";)
+sha1sums=('f1cb6cda210c67fd19eca387df2d2224393d45ef')
+
+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/staging-x86_64/kdeutils-kcalc.install (from rev 
161051, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-x86_64/kdeutils-kcalc.install                               (rev 0)
+++ staging-x86_64/kdeutils-kcalc.install       2012-06-07 21:06:01 UTC (rev 
161052)
@@ -0,0 +1,11 @@
+post_install() {
+       xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+       post_install
+}
+
+post_remove() {
+       post_install
+}

Reply via email to