aboutsummaryrefslogblamecommitdiffstats
path: root/testing/kmbox/APKBUILD
blob: bdaf0e47e4d2eec502e0c0d6c6238f8fd7bfc5b8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  

              
                                                            
                 



                                              
                                                                                         


                          
                        
                                         

                                             
                     


         
                



                                          
                                               
 
                                                                                                                                                                   
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmbox
pkgver=19.12.3
pkgrel=0
pkgdesc="Library for accessing mail storages in MBox format"
arch="all !armhf"
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/kmbox-$pkgver.tar.xz"
subpackages="$pkgname-dev"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make -C build install
}
sha512sums="73ddbac34608b761d28638eec782f6a76642c39255c21d1795540a8cbab2e776c6641a5f87a27108f90657c4a7fdb9ad9d143a84800e2e134dfe43c2509fa400  kmbox-19.12.3.tar.xz"