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

Andrea Scarpino andrea at archlinux.org
Sun Mar 4 10:03:17 EST 2012


    Date: Sunday, March 4, 2012 @ 10:03:17
  Author: andrea
Revision: 152103

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

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

---------------------------------------+
 extra-i686/PKGBUILD                   |    2 -
 extra-x86_64/PKGBUILD                 |    2 -
 staging-i686/PKGBUILD                 |   33 ++++++++++++++++++++++++++++++++
 staging-i686/kdeutils-kcalc.install   |   11 ++++++++++
 staging-x86_64/PKGBUILD               |   33 ++++++++++++++++++++++++++++++++
 staging-x86_64/kdeutils-kcalc.install |   11 ++++++++++
 6 files changed, 90 insertions(+), 2 deletions(-)

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-04 15:02:53 UTC (rev 152102)
+++ extra-i686/PKGBUILD	2012-03-04 15:03:17 UTC (rev 152103)
@@ -12,7 +12,7 @@
 makedepends=('cmake' 'automoc4')
 groups=('kde' 'kdeutils')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kcalc-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kcalc-${pkgver}.tar.xz")
 sha1sums=('b832aadd21906a7bdad323b8f1cbfb59bf1b7c63')
 
 build() {

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-04 15:02:53 UTC (rev 152102)
+++ extra-x86_64/PKGBUILD	2012-03-04 15:03:17 UTC (rev 152103)
@@ -12,7 +12,7 @@
 makedepends=('cmake' 'automoc4')
 groups=('kde' 'kdeutils')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kcalc-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kcalc-${pkgver}.tar.xz")
 sha1sums=('b832aadd21906a7bdad323b8f1cbfb59bf1b7c63')
 
 build() {

Copied: kdeutils-kcalc/repos/staging-i686/PKGBUILD (from rev 152102, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-04 15:03:17 UTC (rev 152103)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.1
+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/xz/kcalc-${pkgver}.tar.xz")
+sha1sums=('f119707ece800a2102eb881402a5bc289b2a55ea')
+
+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 152102, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-i686/kdeutils-kcalc.install	                        (rev 0)
+++ staging-i686/kdeutils-kcalc.install	2012-03-04 15:03:17 UTC (rev 152103)
@@ -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 152102, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-04 15:03:17 UTC (rev 152103)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.8.1
+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/xz/kcalc-${pkgver}.tar.xz")
+sha1sums=('f119707ece800a2102eb881402a5bc289b2a55ea')
+
+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 152102, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- staging-x86_64/kdeutils-kcalc.install	                        (rev 0)
+++ staging-x86_64/kdeutils-kcalc.install	2012-03-04 15:03:17 UTC (rev 152103)
@@ -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