[arch-commits] Commit in kdeedu-kmplot/repos (6 files)
Felix Yan
fyan at archlinux.org
Wed Mar 4 14:31:15 UTC 2015
Date: Wednesday, March 4, 2015 @ 15:31:14
Author: fyan
Revision: 232623
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-kmplot/repos/testing-i686/
kdeedu-kmplot/repos/testing-i686/PKGBUILD
(from rev 232622, kdeedu-kmplot/trunk/PKGBUILD)
kdeedu-kmplot/repos/testing-i686/kdeedu-kmplot.install
(from rev 232622, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
kdeedu-kmplot/repos/testing-x86_64/
kdeedu-kmplot/repos/testing-x86_64/PKGBUILD
(from rev 232622, kdeedu-kmplot/trunk/PKGBUILD)
kdeedu-kmplot/repos/testing-x86_64/kdeedu-kmplot.install
(from rev 232622, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
--------------------------------------+
testing-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-i686/kdeedu-kmplot.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-kmplot.install | 12 ++++++++++++
4 files changed, 90 insertions(+)
Copied: kdeedu-kmplot/repos/testing-i686/PKGBUILD (from rev 232622, kdeedu-kmplot/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-03-04 14:31:14 UTC (rev 232623)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kmplot
+pkgver=14.12.3
+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=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('fae385378820e56d39d2bace2ba6bd77620f917b')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kmplot-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kmplot/repos/testing-i686/kdeedu-kmplot.install (from rev 232622, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
===================================================================
--- testing-i686/kdeedu-kmplot.install (rev 0)
+++ testing-i686/kdeedu-kmplot.install 2015-03-04 14:31:14 UTC (rev 232623)
@@ -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: kdeedu-kmplot/repos/testing-x86_64/PKGBUILD (from rev 232622, kdeedu-kmplot/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-03-04 14:31:14 UTC (rev 232623)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kmplot
+pkgver=14.12.3
+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=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('fae385378820e56d39d2bace2ba6bd77620f917b')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kmplot-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kmplot/repos/testing-x86_64/kdeedu-kmplot.install (from rev 232622, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
===================================================================
--- testing-x86_64/kdeedu-kmplot.install (rev 0)
+++ testing-x86_64/kdeedu-kmplot.install 2015-03-04 14:31:14 UTC (rev 232623)
@@ -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