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


                                                  
              
        
                 


                                                                                                           
                                                                                                                                                                                                                                                                                                                                         
                       
                                                                                          


                                        
                        
                                         

                                             
                           


         
                



                                                   
                                                              

 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kopete
pkgver=20.04.2
pkgrel=0
arch="all !armhf"
url="https://userbase.kde.org/Kopete"
pkgdesc="An instant messenger supporting AIM, ICQ, Jabber, Gadu-Gadu, Novell GroupWise Messenger, and more"
license="GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kemoticons-dev ki18n-dev kcmutils-dev khtml-dev knotifyconfig-dev kparts-dev ktexteditor-dev kwallet-dev kdelibs4support-dev kcontacts-dev kidentitymanagement-dev kitemmodels-dev libkleo-dev gpgme-dev kdnssd-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/kopete-$pkgver.tar.xz"
subpackages="$pkgname-doc $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 xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="3281d865551b0a651f09f6abb9672f481e23ff4e6bfca498363d3bf92d1a1238b59e85f23a5b2febc5dc4c781a8db4aaa7ae4de335fc803abab12ba6a2975e53  kopete-20.04.2.tar.xz"