2013-05-22 01:01:47 +00:00
|
|
|
# $Id: PKGBUILD 184890 2013-05-09 09:43:04Z andrea $
|
|
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch and cmake define to disable opengl for ARM
|
|
|
|
|
|
|
|
pkgname=kdeedu-kalgebra
|
2014-03-31 19:23:57 +00:00
|
|
|
pkgver=4.12.4
|
2013-05-22 01:01:47 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Graph Calculator"
|
|
|
|
url="http://kde.org/applications/education/kalgebra/"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
|
|
groups=('kde' 'kdeedu')
|
|
|
|
depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza')
|
2013-12-23 03:57:13 +00:00
|
|
|
makedepends=('cmake' 'automoc4' 'glu')
|
2013-05-22 01:01:47 +00:00
|
|
|
install=${pkgname}.install
|
|
|
|
source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.xz"
|
|
|
|
"kalgebra-opengl_optional.patch")
|
2014-03-31 19:23:57 +00:00
|
|
|
sha1sums=('3cce0efd16a71bb72de12a02c7071059f74cc9f9'
|
2013-05-22 01:01:47 +00:00
|
|
|
'ae1b75e5192f8519517134447b481421112a6dd7')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/kalgebra-${pkgver}"
|
|
|
|
patch -p1 -i ../kalgebra-opengl_optional.patch
|
|
|
|
|
|
|
|
cd "${srcdir}"
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../kalgebra-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DKDE4_BUILD_TESTS=OFF \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DSHOULD_BUILD_OPENGL=OFF
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|