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

Antonio Rojas arojas at archlinux.org
Mon Sep 14 22:00:11 UTC 2015


    Date: Tuesday, September 15, 2015 @ 00:00:10
  Author: arojas
Revision: 246229

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

Added:
  kcalc/repos/testing-i686/
  kcalc/repos/testing-i686/PKGBUILD
    (from rev 246228, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-i686/kcalc.install
    (from rev 246228, kcalc/trunk/kcalc.install)
  kcalc/repos/testing-x86_64/
  kcalc/repos/testing-x86_64/PKGBUILD
    (from rev 246228, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-x86_64/kcalc.install
    (from rev 246228, kcalc/trunk/kcalc.install)

------------------------------+
 testing-i686/PKGBUILD        |   39 +++++++++++++++++++++++++++++++++++++++
 testing-i686/kcalc.install   |   13 +++++++++++++
 testing-x86_64/PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/kcalc.install |   13 +++++++++++++
 4 files changed, 104 insertions(+)

Copied: kcalc/repos/testing-i686/PKGBUILD (from rev 246228, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-14 22:00:10 UTC (rev 246229)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.08.1
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='http://kde.org/applications/utilities/kcalc/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kinit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+conflicts=('kdeutils-kcalc')
+replaces=('kdeutils-kcalc')
+groups=('kde-applications' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('b08c7672094d4781ee2031c16b64cca52714a8e1')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kcalc-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/testing-i686/kcalc.install (from rev 246228, kcalc/trunk/kcalc.install)
===================================================================
--- testing-i686/kcalc.install	                        (rev 0)
+++ testing-i686/kcalc.install	2015-09-14 22:00:10 UTC (rev 246229)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}
+

Copied: kcalc/repos/testing-x86_64/PKGBUILD (from rev 246228, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-14 22:00:10 UTC (rev 246229)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.08.1
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='http://kde.org/applications/utilities/kcalc/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kinit')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+conflicts=('kdeutils-kcalc')
+replaces=('kdeutils-kcalc')
+groups=('kde-applications' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('b08c7672094d4781ee2031c16b64cca52714a8e1')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kcalc-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/testing-x86_64/kcalc.install (from rev 246228, kcalc/trunk/kcalc.install)
===================================================================
--- testing-x86_64/kcalc.install	                        (rev 0)
+++ testing-x86_64/kcalc.install	2015-09-14 22:00:10 UTC (rev 246229)
@@ -0,0 +1,13 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}
+



More information about the arch-commits mailing list