[arch-commits] Commit in kdeutils-kcalc/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Tue Sep 4 16:31:15 UTC 2012
Date: Tuesday, September 4, 2012 @ 12:31:15
Author: andrea
Revision: 166118
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeutils-kcalc/repos/testing-i686/
kdeutils-kcalc/repos/testing-i686/PKGBUILD
(from rev 166117, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-i686/kdeutils-kcalc.install
(from rev 166117, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
kdeutils-kcalc/repos/testing-x86_64/
kdeutils-kcalc/repos/testing-x86_64/PKGBUILD
(from rev 166117, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-x86_64/kdeutils-kcalc.install
(from rev 166117, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
---------------------------------------+
testing-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++++++
testing-i686/kdeutils-kcalc.install | 11 ++++++++++
testing-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++++++
testing-x86_64/kdeutils-kcalc.install | 11 ++++++++++
4 files changed, 88 insertions(+)
Copied: kdeutils-kcalc/repos/testing-i686/PKGBUILD (from rev 166117, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-09-04 16:31:15 UTC (rev 166118)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.9.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/kcalc-${pkgver}.tar.xz")
+sha1sums=('40eacf20d6c0ba278670a6383e42ab94e78530d1')
+
+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/testing-i686/kdeutils-kcalc.install (from rev 166117, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-i686/kdeutils-kcalc.install (rev 0)
+++ testing-i686/kdeutils-kcalc.install 2012-09-04 16:31:15 UTC (rev 166118)
@@ -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/testing-x86_64/PKGBUILD (from rev 166117, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-09-04 16:31:15 UTC (rev 166118)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=4.9.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/kcalc-${pkgver}.tar.xz")
+sha1sums=('40eacf20d6c0ba278670a6383e42ab94e78530d1')
+
+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/testing-x86_64/kdeutils-kcalc.install (from rev 166117, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-x86_64/kdeutils-kcalc.install (rev 0)
+++ testing-x86_64/kdeutils-kcalc.install 2012-09-04 16:31:15 UTC (rev 166118)
@@ -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