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

Antonio Rojas arojas at archlinux.org
Sat Mar 25 01:21:45 UTC 2017


    Date: Saturday, March 25, 2017 @ 01:21:44
  Author: arojas
Revision: 291466

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kcalc/repos/kde-unstable-x86_64/
  kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 291465, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-x86_64/kcalc-qt5.6.patch
    (from rev 291465, kcalc/kde-unstable/kcalc-qt5.6.patch)

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

Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 291465, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-03-25 01:21:44 UTC (rev 291466)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=17.03.80
+pkgrel=1
+pkgdesc='Scientific Calculator'
+url='https://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=("https://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz"{,.sig})
+sha256sums=('13a06fdd06d2bd760217718b21b3732130ab5304b2b40d5e0ec782f282b4905d'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+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/kde-unstable-x86_64/kcalc-qt5.6.patch (from rev 291465, kcalc/kde-unstable/kcalc-qt5.6.patch)
===================================================================
--- kde-unstable-x86_64/kcalc-qt5.6.patch	                        (rev 0)
+++ kde-unstable-x86_64/kcalc-qt5.6.patch	2017-03-25 01:21:44 UTC (rev 291466)
@@ -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