2015-01-24 16:46:39 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
2013-03-13 00:32:20 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2015-01-24 17:28:21 +00:00
|
|
|
# - patch to disable opengl for ARM
|
2013-03-13 00:32:20 +00:00
|
|
|
|
2015-01-24 16:46:39 +00:00
|
|
|
pkgname=analitza
|
2015-04-19 16:30:46 +00:00
|
|
|
pkgver=15.04.0
|
2015-02-07 10:15:03 +00:00
|
|
|
pkgrel=1
|
2013-03-13 00:32:20 +00:00
|
|
|
pkgdesc="A library to add mathematical features to your program"
|
|
|
|
url="https://projects.kde.org/projects/kde/kdeedu/analitza"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2015-01-24 16:46:39 +00:00
|
|
|
depends=('qt5-svg' 'qt5-declarative')
|
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'eigen')
|
|
|
|
replaces=('kdebase-analitza')
|
|
|
|
conflicts=('kdebase-analitza')
|
|
|
|
source=("http://download.kde.org/stable/applications/${pkgver}/src/analitza-${pkgver}.tar.xz"
|
2015-01-24 17:28:21 +00:00
|
|
|
'analitza-disable-opengl.patch')
|
2015-04-19 16:30:46 +00:00
|
|
|
sha1sums=('3553bced6fa0bca56ae577c900752822c1165f44'
|
2015-01-24 17:28:21 +00:00
|
|
|
'db4b031c52e10272af54542eebef5b68d8bd0c45')
|
2013-03-13 00:32:20 +00:00
|
|
|
|
2013-12-22 16:35:03 +00:00
|
|
|
prepare() {
|
|
|
|
mkdir build
|
|
|
|
|
2013-03-13 00:32:20 +00:00
|
|
|
cd "${srcdir}/analitza-${pkgver}"
|
2015-01-24 17:28:21 +00:00
|
|
|
patch -p1 -i ../analitza-disable-opengl.patch
|
2013-12-22 16:35:03 +00:00
|
|
|
}
|
2013-03-13 00:32:20 +00:00
|
|
|
|
2013-12-22 16:35:03 +00:00
|
|
|
build() {
|
2013-03-13 00:32:20 +00:00
|
|
|
cd build
|
|
|
|
cmake ../analitza-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2015-01-24 16:46:39 +00:00
|
|
|
-DBUILD_TESTING=OFF \
|
2013-03-13 00:32:20 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2015-01-24 16:46:39 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2015-01-24 17:28:21 +00:00
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2013-03-13 00:32:20 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-12-22 16:35:03 +00:00
|
|
|
cd build
|
2013-03-13 00:32:20 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|