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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 08:10:14 UTC 2015


    Date: Wednesday, July 29, 2015 @ 10:10:14
  Author: arojas
Revision: 242789

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

Added:
  kcalc/repos/kde-unstable-i686/
  kcalc/repos/kde-unstable-i686/PKGBUILD
    (from rev 242788, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-i686/kcalc.install
    (from rev 242788, kcalc/kde-unstable/kcalc.install)
  kcalc/repos/kde-unstable-x86_64/
  kcalc/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242788, kcalc/kde-unstable/PKGBUILD)
  kcalc/repos/kde-unstable-x86_64/kcalc.install
    (from rev 242788, 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 242788, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 08:10:14 UTC (rev 242789)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('9a483a8f8531e27aca3b55c7c25efe92e1070efd')
+
+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 242788, kcalc/kde-unstable/kcalc.install)
===================================================================
--- kde-unstable-i686/kcalc.install	                        (rev 0)
+++ kde-unstable-i686/kcalc.install	2015-07-29 08:10:14 UTC (rev 242789)
@@ -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 242788, kcalc/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 08:10:14 UTC (rev 242789)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kcalc
+pkgver=15.07.80
+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/unstable/applications/${pkgver}/src/kcalc-${pkgver}.tar.xz")
+sha1sums=('9a483a8f8531e27aca3b55c7c25efe92e1070efd')
+
+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 242788, kcalc/kde-unstable/kcalc.install)
===================================================================
--- kde-unstable-x86_64/kcalc.install	                        (rev 0)
+++ kde-unstable-x86_64/kcalc.install	2015-07-29 08:10:14 UTC (rev 242789)
@@ -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