2013-03-13 00:32:20 +00:00
|
|
|
# $Id: PKGBUILD 179350 2013-03-05 15:25:49Z andrea $
|
|
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch and cmake define to disable opengl for ARM
|
|
|
|
|
|
|
|
pkgname=kdeedu-analitza
|
2014-04-18 21:03:49 +00:00
|
|
|
pkgver=4.13.0
|
2013-03-13 00:32:20 +00:00
|
|
|
pkgrel=1
|
|
|
|
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')
|
|
|
|
groups=('kde' 'kdeedu')
|
|
|
|
depends=('kdebase-runtime')
|
2013-12-22 20:47:04 +00:00
|
|
|
makedepends=('cmake' 'automoc4' 'glu')
|
2013-03-13 00:32:20 +00:00
|
|
|
source=("http://download.kde.org/stable/${pkgver}/src/analitza-${pkgver}.tar.xz"
|
|
|
|
'analitza-4.10.1-opengl_optional.patch')
|
2014-04-18 21:03:49 +00:00
|
|
|
sha1sums=('a1fc8c0ce26d565ecc14df933d79a89a19bcc78b'
|
2013-03-13 00:32:20 +00:00
|
|
|
'1b3a522acf87ed3dee51af4290a841645bf98a32')
|
|
|
|
|
2013-12-22 16:35:03 +00:00
|
|
|
prepare() {
|
|
|
|
mkdir build
|
|
|
|
|
2013-03-13 00:32:20 +00:00
|
|
|
cd "${srcdir}/analitza-${pkgver}"
|
|
|
|
patch -p1 -i ../analitza-4.10.1-opengl_optional.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 \
|
|
|
|
-DKDE4_BUILD_TESTS=OFF \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DSHOULD_BUILD_OPENGL=OFF
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-12-22 16:35:03 +00:00
|
|
|
cd build
|
2013-03-13 00:32:20 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|