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


                                                  
              
        
                                



                                                                                                                                                                                                        
                                                                                       



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kig
pkgver=20.12.2
pkgrel=0
arch="all !armhf !s390x !mips64"
url="http://edu.kde.org/kig"
pkgdesc="Interactive Geometry"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev kparts-dev kdoctools-dev ki18n-dev ktexteditor-dev kiconthemes-dev kconfigwidgets-dev karchive-dev kxmlgui-dev kcrash-dev kcoreaddons-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kig-$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="ce5ad34d6fe7f0601482dcf6a2b193da19be68de07ed6c68f123c0005e6542c2da904bae94a2cd4bc5e8262ffea90b8f0919dd382ce998f3bb765093df16d3e3  kig-20.12.2.tar.xz"