extra/kdeedu-kalgebra to 4.13.0-1

This commit is contained in:
Kevin Mihelich 2014-04-18 22:05:54 +00:00
parent 7022d65ac2
commit 6e303b356c

View file

@ -5,27 +5,30 @@
# - patch and cmake define to disable opengl for ARM
pkgname=kdeedu-kalgebra
pkgver=4.12.4
pkgver=4.13.0
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')
depends=('kdebase-runtime' 'kdeedu-analitza')
makedepends=('cmake' 'automoc4' 'glu')
install=${pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/kalgebra-${pkgver}.tar.xz"
"kalgebra-opengl_optional.patch")
sha1sums=('3cce0efd16a71bb72de12a02c7071059f74cc9f9'
sha1sums=('2c3da95dacf3379c8137f420755031b4269bff40'
'ae1b75e5192f8519517134447b481421112a6dd7')
build() {
prepare() {
cd "${srcdir}/kalgebra-${pkgver}"
patch -p1 -i ../kalgebra-opengl_optional.patch
cd "${srcdir}"
mkdir build
}
build() {
cd build
cmake ../kalgebra-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
@ -36,6 +39,6 @@ build() {
}
package() {
cd "${srcdir}"/build
cd build
make DESTDIR="${pkgdir}" install
}