[arch-commits] Commit in kdeutils-kcalc/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 08:53:30 UTC 2015
Date: Wednesday, February 4, 2015 @ 09:53:30
Author: fyan
Revision: 230714
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeutils-kcalc/repos/testing-i686/
kdeutils-kcalc/repos/testing-i686/PKGBUILD
(from rev 230713, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-i686/kdeutils-kcalc.install
(from rev 230713, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
kdeutils-kcalc/repos/testing-x86_64/
kdeutils-kcalc/repos/testing-x86_64/PKGBUILD
(from rev 230713, kdeutils-kcalc/trunk/PKGBUILD)
kdeutils-kcalc/repos/testing-x86_64/kdeutils-kcalc.install
(from rev 230713, 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 230713, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 08:53:30 UTC (rev 230714)
@@ -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.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/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('469f17eac83665821227e2602a11b1acb28dac2b')
+
+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 230713, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-i686/kdeutils-kcalc.install (rev 0)
+++ testing-i686/kdeutils-kcalc.install 2015-02-04 08:53:30 UTC (rev 230714)
@@ -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 230713, kdeutils-kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 08:53:30 UTC (rev 230714)
@@ -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.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/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('469f17eac83665821227e2602a11b1acb28dac2b')
+
+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 230713, kdeutils-kcalc/trunk/kdeutils-kcalc.install)
===================================================================
--- testing-x86_64/kdeutils-kcalc.install (rev 0)
+++ testing-x86_64/kdeutils-kcalc.install 2015-02-04 08:53:30 UTC (rev 230714)
@@ -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