[arch-commits] Commit in kdeedu-cantor/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Aug 14 07:03:55 UTC 2013
Date: Wednesday, August 14, 2013 @ 09:03:55
Author: andrea
Revision: 192601
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-cantor/repos/testing-i686/
kdeedu-cantor/repos/testing-i686/PKGBUILD
(from rev 192600, kdeedu-cantor/trunk/PKGBUILD)
kdeedu-cantor/repos/testing-i686/kdeedu-cantor.install
(from rev 192600, kdeedu-cantor/trunk/kdeedu-cantor.install)
kdeedu-cantor/repos/testing-x86_64/
kdeedu-cantor/repos/testing-x86_64/PKGBUILD
(from rev 192600, kdeedu-cantor/trunk/PKGBUILD)
kdeedu-cantor/repos/testing-x86_64/kdeedu-cantor.install
(from rev 192600, 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 192600, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-08-14 07:03:55 UTC (rev 192601)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.11.0
+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=('6126f637367f43b5a84bcc516f2f96ef4b7987ee')
+
+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 192600, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-i686/kdeedu-cantor.install (rev 0)
+++ testing-i686/kdeedu-cantor.install 2013-08-14 07:03:55 UTC (rev 192601)
@@ -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 192600, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-08-14 07:03:55 UTC (rev 192601)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.11.0
+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=('6126f637367f43b5a84bcc516f2f96ef4b7987ee')
+
+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 192600, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-x86_64/kdeedu-cantor.install (rev 0)
+++ testing-x86_64/kdeedu-cantor.install 2013-08-14 07:03:55 UTC (rev 192601)
@@ -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