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


                                                  
              
        
                                    

                                      
                                

                              









                           
                                                                                         


                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              
 
                                                                                                                                                                   
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ktnef
pkgver=20.12.2
pkgrel=0
pkgdesc="API for handling TNEF data"
# armhf blocked by extra-cmake-modules
# s390x blocked by kcalendarcore
arch="all !armhf !s390x !mips64"
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="
	kcalendarcore-dev
	kcalutils-dev
	kcontacts-dev
	ki18n-dev
	qt5-qtbase-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/ktnef-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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="d59701455f7f9fcec54d2698fa3f16e508766e098f0b14e96c5cad8921428f2f43ef4cf627330dc3b1809b91ffadd5481feed645d4f1e29f7c16225a73c315e7  ktnef-20.12.2.tar.xz"