aboutsummaryrefslogblamecommitdiffstats
path: root/community/akonadi-notes/APKBUILD
blob: ed440212dc53001f8a42f7c5306a93dcdcaf37b9 (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=akonadi-notes
pkgver=21.08.1
pkgrel=0
pkgdesc="Libraries and daemons to implement management of notes"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="
	ki18n-dev
	kmime-dev
	qt5-qtbase-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-notes-$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 --install build
}
sha512sums="
17e15ed8d332d0d96d5e6bcd67937b84a76ed5b805a1b180cba8fcfdf1c23a811e9f8f60a11c148b63e08b8ece11e94cbcba9fcb46ea70546f4ab59600dee7cc  akonadi-notes-21.08.1.tar.xz
"