diff options
author | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-03 00:01:47 +0000 |
commit | 92bafb5f0efc526b1f83cd5fb9460443c4b13dca (patch) | |
tree | a762a2b1551bff9d77cf7a44a75f915fb074c1a2 /testing/kdeedu-cantor/PKGBUILD | |
parent | f003ac1c96d76f4e3a2b93f988e1effce6771052 (diff) |
Fri Aug 3 00:01:47 UTC 2012
Diffstat (limited to 'testing/kdeedu-cantor/PKGBUILD')
-rw-r--r-- | testing/kdeedu-cantor/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/kdeedu-cantor/PKGBUILD b/testing/kdeedu-cantor/PKGBUILD new file mode 100644 index 000000000..8d113bd4e --- /dev/null +++ b/testing/kdeedu-cantor/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 164563 2012-08-01 14:38:00Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdeedu-cantor +pkgver=4.9.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=('2d97209780542b6d2081d2c6f855c3a3751dd0e1') + +build() { + cd "${srcdir}" + mkdir build + cd build + cmake ../cantor-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install +} |