[arch-commits] Commit in kdeutils-kcalc/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Mar 4 16:46:44 UTC 2015
Date: Wednesday, March 4, 2015 @ 17:46:44
Author: fyan
Revision: 232823
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeutils-kcalc/repos/testing-i686/
kdeutils-kcalc/repos/testing-i686/PKGBUILD
(from rev 232822, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-i686/kdeutils-kcalc.install
(from rev 232822, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
kdeutils-kcalc/repos/testing-x86_64/
kdeutils-kcalc/repos/testing-x86_64/PKGBUILD
(from rev 232822, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-x86_64/kdeutils-kcalc.install
(from rev 232822, 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 232822, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-04 16:46:44 UTC (rev 232823)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=14.12.3
+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/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('d96485c66b161e0ed1b6d7f582b27a6e05473c3b')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kcalc-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kcalc/repos/testing-i686/kdeutils-kcalc.install (from rev 232822, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-i686/kdeutils-kcalc.install (rev 0)
+++ testing-i686/kdeutils-kcalc.install 2015-03-04 16:46:44 UTC (rev 232823)
@@ -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 232822, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-04 16:46:44 UTC (rev 232823)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeutils-kcalc
+pkgver=14.12.3
+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/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('d96485c66b161e0ed1b6d7f582b27a6e05473c3b')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kcalc-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/build
+ make DESTDIR=$pkgdir install
+}
Copied: kdeutils-kcalc/repos/testing-x86_64/kdeutils-kcalc.install (from rev 232822, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-x86_64/kdeutils-kcalc.install (rev 0)
+++ testing-x86_64/kdeutils-kcalc.install 2015-03-04 16:46:44 UTC (rev 232823)
@@ -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