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

Antonio Rojas arojas at archlinux.org
Fri Jul 21 20:11:38 UTC 2017


    Date: Friday, July 21, 2017 @ 20:11:37
  Author: arojas
Revision: 301100

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 301099, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-x86_64/kcalc-qt5.6.patch
    (from rev 301099, kcalc/kde-unstable/kcalc-qt5.6.patch)

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

Copied: kcalc/repos/kde-unstable-x86_64/PKGBUILD (from rev 301099, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-07-21 20:11:37 UTC (rev 301100)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=17.07.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/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz"{,.sig})
+sha256sums=('f7bd92ff79ffcc49aa7f8a1a797060a8166ca09cab249a1b55e912a43c4d9d5e'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck 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 301099, 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-07-21 20:11:37 UTC (rev 301100)
@@ -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