[arch-commits] Commit in kcalc (trunk trunk trunk/PKGBUILD trunk/kcalc-qt5.6.patch)

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


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

upgpkg: kcalc 16.08.0-1

Upstream release

Added:
  kcalc/trunk/
  kcalc/trunk/PKGBUILD
  kcalc/trunk/kcalc-qt5.6.patch
Deleted:
  kcalc/trunk/

-------------------+
 PKGBUILD          |   37 +++++++++++++++++++++++++++++++++++++
 kcalc-qt5.6.patch |   11 +++++++++++
 2 files changed, 48 insertions(+)

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2016-08-21 05:27:05 UTC (rev 274483)
@@ -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
+}


Property changes on: kcalc/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: trunk/kcalc-qt5.6.patch
===================================================================
--- trunk/kcalc-qt5.6.patch	                        (rev 0)
+++ trunk/kcalc-qt5.6.patch	2016-08-21 05:27:05 UTC (rev 274483)
@@ -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