extra/kdeedu-analitza to 4.12.0-1

This commit is contained in:
Kevin Mihelich 2013-12-22 16:35:03 +00:00
parent 7670be3bcf
commit 407692e7cd

View file

@ -5,7 +5,7 @@
# - patch and cmake define to disable opengl for ARM
pkgname=kdeedu-analitza
pkgver=4.11.4
pkgver=4.12.0
pkgrel=1
pkgdesc="A library to add mathematical features to your program"
url="https://projects.kde.org/projects/kde/kdeedu/analitza"
@ -16,15 +16,17 @@ depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/analitza-${pkgver}.tar.xz"
'analitza-4.10.1-opengl_optional.patch')
sha1sums=('fd342ae684d66cf14d2fb8299956647ea9caed5f'
sha1sums=('a90c58d24c8cba048fc5303ef35e870536603119'
'1b3a522acf87ed3dee51af4290a841645bf98a32')
build() {
prepare() {
mkdir build
cd "${srcdir}/analitza-${pkgver}"
patch -p1 -i ../analitza-4.10.1-opengl_optional.patch
}
cd "${srcdir}"
mkdir build
build() {
cd build
cmake ../analitza-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
@ -35,6 +37,6 @@ build() {
}
package() {
cd "${srcdir}"/build
cd build
make DESTDIR="${pkgdir}" install
}