mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kalgebra
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=kalgebra
|
||
|
pkgver=${_kdever}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Graph calculator"
|
||
|
url="http://kde.org/applications/education/kalgebra/"
|
||
|
arch=('x86_64')
|
||
|
url='http://kde.org/applications/education/kalgebra/'
|
||
|
license=('GPL' 'LGPL' 'FDL')
|
||
|
depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
|
||
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'glu')
|
||
|
provides=('kdeedu-kalgebra')
|
||
|
replaces=('kdeedu-kalgebra')
|
||
|
conflicts=('kdeedu-kalgebra')
|
||
|
groups=("kde" "kdeedu" "kde-uninstall")
|
||
|
categories=('education')
|
||
|
install=${pkgname}.install
|
||
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
||
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
||
|
|
||
|
prepare() {
|
||
|
mkdir build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake ../kalgebra-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DKDE4_BUILD_TESTS=OFF \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|