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

Antonio Rojas arojas at archlinux.org
Tue Feb 16 08:59:21 UTC 2016


    Date: Tuesday, February 16, 2016 @ 09:59:21
  Author: arojas
Revision: 259544

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

Added:
  kcalc/repos/testing-i686/
  kcalc/repos/testing-i686/PKGBUILD
    (from rev 259543, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-i686/kcalc.install
    (from rev 259543, kcalc/trunk/kcalc.install)
  kcalc/repos/testing-x86_64/
  kcalc/repos/testing-x86_64/PKGBUILD
    (from rev 259543, kcalc/trunk/PKGBUILD)
  kcalc/repos/testing-x86_64/kcalc.install
    (from rev 259543, kcalc/trunk/kcalc.install)

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

Copied: kcalc/repos/testing-i686/PKGBUILD (from rev 259543, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-02-16 08:59:21 UTC (rev 259544)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.12.2
+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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('780ba8ac39c10e28d09b36f951a41b242dc295c5')
+
+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/testing-i686/kcalc.install (from rev 259543, kcalc/trunk/kcalc.install)
===================================================================
--- testing-i686/kcalc.install	                        (rev 0)
+++ testing-i686/kcalc.install	2016-02-16 08:59:21 UTC (rev 259544)
@@ -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/testing-x86_64/PKGBUILD (from rev 259543, kcalc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-02-16 08:59:21 UTC (rev 259544)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.12.2
+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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('780ba8ac39c10e28d09b36f951a41b242dc295c5')
+
+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/testing-x86_64/kcalc.install (from rev 259543, kcalc/trunk/kcalc.install)
===================================================================
--- testing-x86_64/kcalc.install	                        (rev 0)
+++ testing-x86_64/kcalc.install	2016-02-16 08:59:21 UTC (rev 259544)
@@ -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