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

Antonio Rojas arojas at archlinux.org
Sat Mar 14 10:13:03 UTC 2015


    Date: Saturday, March 14, 2015 @ 11:13:02
  Author: arojas
Revision: 233666

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

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

------------------------------------+
 kde-unstable-i686/PKGBUILD         |   36 +++++++++++++++++++++++++++++++++++
 kde-unstable-i686/kmplot.install   |   12 +++++++++++
 kde-unstable-x86_64/PKGBUILD       |   36 +++++++++++++++++++++++++++++++++++
 kde-unstable-x86_64/kmplot.install |   12 +++++++++++
 4 files changed, 96 insertions(+)

Copied: kmplot/repos/kde-unstable-i686/PKGBUILD (from rev 233665, kmplot/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-i686/PKGBUILD	2015-03-14 10:13:02 UTC (rev 233666)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdelibs4support')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+replaces=('kdeedu-kmplot')
+conflicts=('kdeedu-kmplot')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('2783a7bb611e6eae08c550668fbf2dbf3d569809')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kmplot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kmplot/repos/kde-unstable-i686/kmplot.install (from rev 233665, kmplot/kde-unstable/kmplot.install)
===================================================================
--- repos/kde-unstable-i686/kmplot.install	                        (rev 0)
+++ repos/kde-unstable-i686/kmplot.install	2015-03-14 10:13:02 UTC (rev 233666)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: kmplot/repos/kde-unstable-x86_64/PKGBUILD (from rev 233665, kmplot/kde-unstable/PKGBUILD)
===================================================================
--- repos/kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ repos/kde-unstable-x86_64/PKGBUILD	2015-03-14 10:13:02 UTC (rev 233666)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kmplot
+pkgver=15.03.90
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdelibs4support')
+makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+install=${pkgname}.install
+replaces=('kdeedu-kmplot')
+conflicts=('kdeedu-kmplot')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('2783a7bb611e6eae08c550668fbf2dbf3d569809')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kmplot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kmplot/repos/kde-unstable-x86_64/kmplot.install (from rev 233665, kmplot/kde-unstable/kmplot.install)
===================================================================
--- repos/kde-unstable-x86_64/kmplot.install	                        (rev 0)
+++ repos/kde-unstable-x86_64/kmplot.install	2015-03-14 10:13:02 UTC (rev 233666)
@@ -0,0 +1,12 @@
+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