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


                                                  
              
        

                                      
                                


                                                               











                           
                                                                                            



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
                                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=cervisia
pkgver=20.08.3
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by kparts
arch="all !armhf !s390x !mips64"
url="https://kde.org/applications/development/org.kde.cervisia"
pkgdesc="A user friendly version control system front-end"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	extra-cmake-modules
	kdesu-dev
	kdoctools-dev
	kiconthemes-dev
	kinit-dev
	kitemviews-dev
	knotifications-dev
	kparts-dev
	kwidgetsaddons-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/cervisia-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
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="8479024588c458d60e45319b9e50928861a56bc7c4225dcb119c9b43a65a4e2ab2f639b6da304e2a5fa5767d01b5c4b9dd9d0b3be2399782ec453f8c3ef21a9d  cervisia-20.08.3.tar.xz"