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


                                                  
             
        
                                                   


                                             

                                          













                           
                       
                                                                                          
                                                     

         
                        
                                         


                                             
                           


         
                
                                                   


           
                                               
 
            
                                                                                                                                                          
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kbookmarks
pkgver=5.90.0
pkgrel=0
pkgdesc="Support for bookmarks and the XBEL format"
# armhf blocked by extra-cmake-modules
# mips64, s390x and riscv64 blocked by polkit
arch="all !armhf !mips64 !s390x !riscv64"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="
	kcodecs-dev
	kconfig-dev
	kconfigwidgets-dev
	kcoreaddons-dev
	kwidgetsaddons-dev
	kxmlgui-dev
	qt5-qtbase-dev
	"
makedepends="$depends_dev
	doxygen
	extra-cmake-modules
	qt5-qttools-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kbookmarks-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
2bcc422d98cda0764250fe9ee88e12e33f1f00ff4f7a49a63ee6d853e7c00ab1206ca355f3f4d9f744806f4ce140a6d6f2153dd483b08efdf379386795f6c00e  kbookmarks-5.90.0.tar.xz
"