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

Felix Yan felixonmars at archlinux.org
Sun Aug 21 05:27:32 UTC 2016


    Date: Sunday, August 21, 2016 @ 05:27:31
  Author: felixonmars
Revision: 274484

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

Added:
  kcalc/repos/testing-i686/
  kcalc/repos/testing-i686/PKGBUILD
    (from rev 274483, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-i686/kcalc-qt5.6.patch
    (from rev 274483, kcalc/trunk/kcalc-qt5.6.patch)
  kcalc/repos/testing-x86_64/
  kcalc/repos/testing-x86_64/PKGBUILD
    (from rev 274483, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-x86_64/kcalc-qt5.6.patch
    (from rev 274483, kcalc/trunk/kcalc-qt5.6.patch)

----------------------------------+
 testing-i686/PKGBUILD            |   37 +++++++++++++++++++++++++++++++++++++
 testing-i686/kcalc-qt5.6.patch   |   11 +++++++++++
 testing-x86_64/PKGBUILD          |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/kcalc-qt5.6.patch |   11 +++++++++++
 4 files changed, 96 insertions(+)

Copied: kcalc/repos/testing-i686/PKGBUILD (from rev 274483, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-08-21 05:27:31 UTC (rev 274484)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=16.08.0
+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')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('95dbbf7a589c6cb249e8c8bba6f64a26a6be3a79')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/testing-i686/kcalc-qt5.6.patch (from rev 274483, kcalc/trunk/kcalc-qt5.6.patch)
===================================================================
--- testing-i686/kcalc-qt5.6.patch	                        (rev 0)
+++ testing-i686/kcalc-qt5.6.patch	2016-08-21 05:27:31 UTC (rev 274484)
@@ -0,0 +1,11 @@
+--- kcalc-15.12.3/kcalc.cpp.orig	2016-03-16 16:26:37.327157522 +0000
++++ kcalc-15.12.3/kcalc.cpp	2016-03-16 16:28:08.533357025 +0000
+@@ -123,7 +123,7 @@
+ 
+ 	updateGeometry();
+ 
+-	setFixedSize(minimumSize());
++	if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+ 
+ 	updateDisplay(UPDATE_FROM_CORE);
+ 

Copied: kcalc/repos/testing-x86_64/PKGBUILD (from rev 274483, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-08-21 05:27:31 UTC (rev 274484)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=16.08.0
+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')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('95dbbf7a589c6cb249e8c8bba6f64a26a6be3a79')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcalc/repos/testing-x86_64/kcalc-qt5.6.patch (from rev 274483, kcalc/trunk/kcalc-qt5.6.patch)
===================================================================
--- testing-x86_64/kcalc-qt5.6.patch	                        (rev 0)
+++ testing-x86_64/kcalc-qt5.6.patch	2016-08-21 05:27:31 UTC (rev 274484)
@@ -0,0 +1,11 @@
+--- kcalc-15.12.3/kcalc.cpp.orig	2016-03-16 16:26:37.327157522 +0000
++++ kcalc-15.12.3/kcalc.cpp	2016-03-16 16:28:08.533357025 +0000
+@@ -123,7 +123,7 @@
+ 
+ 	updateGeometry();
+ 
+-	setFixedSize(minimumSize());
++	if ( ! minimumSize().isEmpty() ) setFixedSize(minimumSize());
+ 
+ 	updateDisplay(UPDATE_FROM_CORE);
+ 



More information about the arch-commits mailing list