aboutsummaryrefslogblamecommitdiffstats
path: root/community/kalgebra/APKBUILD
blob: c59d973b8909d1c154ca057f66f7e2c5e0dc0173 (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=21.08.1
pkgrel=0
# armhf blocked by qt5-qtdeclarative
# s390x, mips64 and riscv64 blocked by polkit -> kio
arch="all !armhf !mips64 !s390x !riscv64"
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 --install build
}

sha512sums="
a7a79f7cb560c9f226c1806f8c8c945aaf211a168184e1a6c67d2ac4f5b172cc72ce94fe63d0537857f2e16db3f8e74c4cc18b9ac22643856b7be6df4febfec3  kalgebra-21.08.1.tar.xz
"