mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:27:15 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/analitza
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=analitza
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="Shared math libraries from Kalgebra"
|
|
url="http://kde.org/applications/education/kalgebra/"
|
|
arch=('x86_64')
|
|
url='http://www.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('qt5-svg' 'qt5-declarative')
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'eigen3')
|
|
provides=('kdeedu-analitza')
|
|
replaces=('kdeedu-analitza')
|
|
conflicts=('kdeedu-analitza')
|
|
groups=("kde" "kdeedu" "kde-uninstall")
|
|
categories=('education')
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
|
|
|
prepare() {
|
|
mkdir build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../analitza-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_TESTING=OFF \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|