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

Andrea Scarpino andrea at archlinux.org
Wed Nov 21 20:01:42 UTC 2012


    Date: Wednesday, November 21, 2012 @ 15:01:41
  Author: andrea
Revision: 171846

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdeutils-kcalc/repos/kde-unstable-i686/
  kdeutils-kcalc/repos/kde-unstable-i686/PKGBUILD
    (from rev 171845, kdeutils-kcalc/kde-unstable/PKGBUILD)
  kdeutils-kcalc/repos/kde-unstable-i686/kdeutils-kcalc.install
    (from rev 171845, kdeutils-kcalc/kde-unstable/kdeutils-kcalc.install)
  kdeutils-kcalc/repos/kde-unstable-x86_64/
  kdeutils-kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 171845, kdeutils-kcalc/kde-unstable/PKGBUILD)
  kdeutils-kcalc/repos/kde-unstable-x86_64/kdeutils-kcalc.install
    (from rev 171845, kdeutils-kcalc/kde-unstable/kdeutils-kcalc.install)

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

Copied: kdeutils-kcalc/repos/kde-unstable-i686/PKGBUILD (from rev 171845, kdeutils-kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2012-11-21 20:01:41 UTC (rev 171846)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.9.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.xz")
+sha1sums=('7ec4953e9f0b9ac26d7cbe10765c2ccd9e0a8a36')
+
+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-i686/kdeutils-kcalc.install (from rev 171845, kdeutils-kcalc/kde-unstable/kdeutils-kcalc.install)
===================================================================
--- kde-unstable-i686/kdeutils-kcalc.install	                        (rev 0)
+++ kde-unstable-i686/kdeutils-kcalc.install	2012-11-21 20:01:41 UTC (rev 171846)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 171845, kdeutils-kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2012-11-21 20:01:41 UTC (rev 171846)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.9.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.xz")
+sha1sums=('7ec4953e9f0b9ac26d7cbe10765c2ccd9e0a8a36')
+
+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 171845, kdeutils-kcalc/kde-unstable/kdeutils-kcalc.install)
===================================================================
--- kde-unstable-x86_64/kdeutils-kcalc.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeutils-kcalc.install	2012-11-21 20:01:41 UTC (rev 171846)
@@ -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