[arch-commits] Commit in kcalc (7 files)

Antonio Rojas arojas at archlinux.org
Sat Mar 14 10:44:37 UTC 2015


    Date: Saturday, March 14, 2015 @ 11:44:37
  Author: arojas
Revision: 233770

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

Added:
  kcalc/repos/
  kcalc/repos/kde-unstable-i686/
  kcalc/repos/kde-unstable-i686/PKGBUILD
    (from rev 233769, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-i686/kcalc.install
    (from rev 233769, kcalc/kde-unstable/kcalc.install)
  kcalc/repos/kde-unstable-x86_64/
  kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 233769, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-x86_64/kcalc.install
    (from rev 233769, kcalc/kde-unstable/kcalc.install)

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

Copied: kcalc/repos/kde-unstable-i686/PKGBUILD (from rev 233769, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD	2015-03-14 10:44:37 UTC (rev 233770)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.03.90
+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' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('bb66ed36fcbf6f3b3678c5b6d34d22966be6a01e')
+
+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/kde-unstable-i686/kcalc.install (from rev 233769, kcalc/kde-unstable/kcalc.install)
===================================================================
--- repos/kde-unstable-i686/kcalc.install	                        (rev 0)
+++ repos/kde-unstable-i686/kcalc.install	2015-03-14 10:44:37 UTC (rev 233770)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 233769, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2015-03-14 10:44:37 UTC (rev 233770)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.03.90
+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' 'kdeutils')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('bb66ed36fcbf6f3b3678c5b6d34d22966be6a01e')
+
+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/kde-unstable-x86_64/kcalc.install (from rev 233769, kcalc/kde-unstable/kcalc.install)
===================================================================
--- repos/kde-unstable-x86_64/kcalc.install	                        (rev 0)
+++ repos/kde-unstable-x86_64/kcalc.install	2015-03-14 10:44:37 UTC (rev 233770)
@@ -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