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

Andrea Scarpino andrea at archlinux.org
Sat Mar 31 04:02:24 EDT 2012


    Date: Saturday, March 31, 2012 @ 04:02:24
  Author: andrea
Revision: 154908

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

Added:
  kdeutils-kcalc/repos/staging-i686/
  kdeutils-kcalc/repos/staging-i686/PKGBUILD
    (from rev 154907, kdeutils-kcalc/trunk/PKGBUILD)
  kdeutils-kcalc/repos/staging-i686/kdeutils-kcalc.install
    (from rev 154907, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
  kdeutils-kcalc/repos/staging-x86_64/
  kdeutils-kcalc/repos/staging-x86_64/PKGBUILD
    (from rev 154907, kdeutils-kcalc/trunk/PKGBUILD)
  kdeutils-kcalc/repos/staging-x86_64/kdeutils-kcalc.install
    (from rev 154907, 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 154907, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-31 08:02:24 UTC (rev 154908)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.2
+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=('f2bbed3d7f991a4cd0484cc4fafe8c04bd29d986')
+
+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 154907, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-i686/kdeutils-kcalc.install	                        (rev 0)
+++ staging-i686/kdeutils-kcalc.install	2012-03-31 08:02:24 UTC (rev 154908)
@@ -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 154907, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-31 08:02:24 UTC (rev 154908)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.2
+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=('f2bbed3d7f991a4cd0484cc4fafe8c04bd29d986')
+
+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 154907, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-x86_64/kdeutils-kcalc.install	                        (rev 0)
+++ staging-x86_64/kdeutils-kcalc.install	2012-03-31 08:02:24 UTC (rev 154908)
@@ -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