aboutsummaryrefslogblamecommitdiffstats
path: root/community/kiten/APKBUILD
blob: 09b65ec9872fe8a97d83d0f855aef84f9b8ea31c (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=kiten
pkgver=20.08.3
pkgrel=0
arch="all !armhf !s390x !mips64" # kconfigwidgets khtml kxmlgui
url="https://edu.kde.org/kiten/"
pkgdesc="Japanese Reference/Study Tool"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdoctools-dev ki18n-dev khtml-dev knotifications-dev kxmlgui-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kiten-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
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="31911ad884d00bb8f0e7377f7f2018c9b7e0d5636b216f03d1367008348c53058d658d4640559b52b0ac01595786161adcba4f05d6b78f5fad85a4a456c9f90f  kiten-20.08.3.tar.xz"