[arch-commits] Commit in kdeedu-cantor/repos (6 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Jan 14 07:40:40 UTC 2014
Date: Tuesday, January 14, 2014 @ 08:40:40
Author: svenstaro
Revision: 203775
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-cantor/repos/testing-i686/
kdeedu-cantor/repos/testing-i686/PKGBUILD
(from rev 203774, kdeedu-cantor/trunk/PKGBUILD)
kdeedu-cantor/repos/testing-i686/kdeedu-cantor.install
(from rev 203774, kdeedu-cantor/trunk/kdeedu-cantor.install)
kdeedu-cantor/repos/testing-x86_64/
kdeedu-cantor/repos/testing-x86_64/PKGBUILD
(from rev 203774, kdeedu-cantor/trunk/PKGBUILD)
kdeedu-cantor/repos/testing-x86_64/kdeedu-cantor.install
(from rev 203774, kdeedu-cantor/trunk/kdeedu-cantor.install)
--------------------------------------+
testing-i686/PKGBUILD | 38 +++++++++++++++++++++++++++++++++
testing-i686/kdeedu-cantor.install | 12 ++++++++++
testing-x86_64/PKGBUILD | 38 +++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-cantor.install | 12 ++++++++++
4 files changed, 100 insertions(+)
Copied: kdeedu-cantor/repos/testing-i686/PKGBUILD (from rev 203774, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-01-14 07:40:40 UTC (rev 203775)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.12.1
+pkgrel=1
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+ 'octave: Octave backend'
+ 'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('5801e506d173fb112f24582046c8c2f229d0646f')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../cantor-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-cantor/repos/testing-i686/kdeedu-cantor.install (from rev 203774, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-i686/kdeedu-cantor.install (rev 0)
+++ testing-i686/kdeedu-cantor.install 2014-01-14 07:40:40 UTC (rev 203775)
@@ -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-cantor/repos/testing-x86_64/PKGBUILD (from rev 203774, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-01-14 07:40:40 UTC (rev 203775)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.12.1
+pkgrel=1
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+ 'octave: Octave backend'
+ 'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('5801e506d173fb112f24582046c8c2f229d0646f')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../cantor-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-cantor/repos/testing-x86_64/kdeedu-cantor.install (from rev 203774, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-x86_64/kdeedu-cantor.install (rev 0)
+++ testing-x86_64/kdeedu-cantor.install 2014-01-14 07:40:40 UTC (rev 203775)
@@ -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