mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
# $Id$
|
|
# 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=16.04.1
|
|
pkgrel=1
|
|
pkgdesc="Graph Calculator"
|
|
url="http://kde.org/applications/education/kalgebra/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
groups=('kde-applications' 'kdeedu')
|
|
depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
|
|
replaces=('kdeedu-kalgebra')
|
|
conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
|
|
source=("http://download.kde.org/stable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz"
|
|
'kalgebra-disable-opengl.patch')
|
|
sha1sums=('e803007fd049c9a17ea02cfedf304f634ecfc134'
|
|
'103de918b6fdfb74a030db01afeb378fa0599717')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
cd kalgebra-${pkgver}
|
|
patch -p1 -i ../kalgebra-disable-opengl.patch
|
|
}
|
|
|
|
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 build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|