aboutsummaryrefslogblamecommitdiffstats
path: root/community/kalgebra/APKBUILD
blob: e342a0f0198e4333b710dd75ca584f377c0aae7d (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              
        
                                    

                                     
                                      
                                   

                                            














                             
                                                                                            



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kalgebra
pkgver=20.12.2
pkgrel=0
# armhf blocked by qt5-qtdeclarative
# mips and mips64 blocked by analitza
# s390x blocked by kconfigwidgets
arch="all !armhf !mips !mips64 !s390x"
url="https://edu.kde.org/kalgebra/"
pkgdesc="2D and 3D Graph Calculator"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	analitza-dev
	extra-cmake-modules
	kconfigwidgets-dev
	kcoreaddons-dev
	kdoctools-dev
	ki18n-dev
	kio-dev
	kwidgetsaddons-dev
	ncurses-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtsvg-dev
	readline-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kalgebra-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="e796f99635385c61f7661cf7263a7320d395e6b141ddd253126ce974b40b571578471a7cba20011f3bc245c2c00d730eca8c7a13b8a44b5a6eb33fa7b2395757  kalgebra-20.12.2.tar.xz"