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


                                                  
              
        
                                

                                   
                                                                  
                                                                                                                                                                                                                                                                                   
                                                                                             



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                       
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kwordquiz
pkgver=21.04.0
pkgrel=0
arch="all !armhf !s390x !mips64"
url="https://edu.kde.org/kwordquiz"
pkgdesc="Flash Card Trainer"
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev kcrash-dev kconfig-dev kconfigwidgets-dev kdoctools-dev kguiaddons-dev kiconthemes-dev kitemviews-dev knotifyconfig-dev knewstuff-dev knotifications-dev kwindowsystem-dev kxmlgui-dev phonon-dev libkeduvocdocument-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kwordquiz-$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="0d0318a65116eb99370d6ae6a97ef341f4609356fa6b350ece65aaf52aff7f2262756d8592921cdd99dc8e2b3f36b4d0b4e473c197e9b95da3ae360e5908af59  kwordquiz-21.04.0.tar.xz"