extra/kalgebra to 15.04.0-1

This commit is contained in:
Kevin Mihelich 2015-04-19 16:30:12 +00:00
parent 0b246af679
commit 5761819096

View file

@ -2,14 +2,17 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch and cmake define to disable opengl for ARM
pkgname=kalgebra
pkgver=14.12.3
pkgver=15.04.0
pkgrel=1
pkgdesc="Graph Calculator"
url="http://kde.org/applications/education/kalgebra/"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
groups=('kde-applications' 'kdeedu')
depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
replaces=('kdeedu-kalgebra')
@ -17,7 +20,7 @@ conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
install=${pkgname}.install
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz"
'kalgebra-disable-opengl.patch')
sha1sums=('3446550c858aef15f02d306dfc788ad04f0b6e6a'
sha1sums=('4566f55db3bb81288c9dee22c3ef0925659426fb'
'103de918b6fdfb74a030db01afeb378fa0599717')
prepare() {
@ -31,7 +34,8 @@ build() {
cmake ../kalgebra-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX=/usr \
-DSHOULD_BUILD_OPENGL=OFF
make
}