Date: Wednesday, February 4, 2015 @ 06:00:44 Author: fyan Revision: 230492
archrelease: copy trunk to testing-i686, testing-x86_64 Added: kdeedu-cantor/repos/testing-i686/ kdeedu-cantor/repos/testing-i686/PKGBUILD (from rev 230491, kdeedu-cantor/trunk/PKGBUILD) kdeedu-cantor/repos/testing-i686/kdeedu-cantor.install (from rev 230491, kdeedu-cantor/trunk/kdeedu-cantor.install) kdeedu-cantor/repos/testing-x86_64/ kdeedu-cantor/repos/testing-x86_64/PKGBUILD (from rev 230491, kdeedu-cantor/trunk/PKGBUILD) kdeedu-cantor/repos/testing-x86_64/kdeedu-cantor.install (from rev 230491, kdeedu-cantor/trunk/kdeedu-cantor.install) --------------------------------------+ testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++ testing-i686/kdeedu-cantor.install | 12 ++++++++++ testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++ testing-x86_64/kdeedu-cantor.install | 12 ++++++++++ 4 files changed, 102 insertions(+) Copied: kdeedu-cantor/repos/testing-i686/PKGBUILD (from rev 230491, kdeedu-cantor/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2015-02-04 05:00:44 UTC (rev 230492) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdeedu-cantor +pkgver=14.12.2 +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' 'libqalculate') +makedepends=('cmake' 'automoc4' 'r') +optdepends=('maxima: Maxima backend' + 'octave: Octave backend' + 'r: R backend') +install=${pkgname}.install +source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz") +sha1sums=('b6c5f42625b3ab84e573a94a84237f6291da3e0a') + +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 230491, kdeedu-cantor/trunk/kdeedu-cantor.install) =================================================================== --- testing-i686/kdeedu-cantor.install (rev 0) +++ testing-i686/kdeedu-cantor.install 2015-02-04 05:00:44 UTC (rev 230492) @@ -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 230491, kdeedu-cantor/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2015-02-04 05:00:44 UTC (rev 230492) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=kdeedu-cantor +pkgver=14.12.2 +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' 'libqalculate') +makedepends=('cmake' 'automoc4' 'r') +optdepends=('maxima: Maxima backend' + 'octave: Octave backend' + 'r: R backend') +install=${pkgname}.install +source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz") +sha1sums=('b6c5f42625b3ab84e573a94a84237f6291da3e0a') + +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 230491, kdeedu-cantor/trunk/kdeedu-cantor.install) =================================================================== --- testing-x86_64/kdeedu-cantor.install (rev 0) +++ testing-x86_64/kdeedu-cantor.install 2015-02-04 05:00:44 UTC (rev 230492) @@ -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 +}