aboutsummaryrefslogblamecommitdiffstats
path: root/testing/zeroconf-ioslave/APKBUILD
blob: f87e0fa6cd1d28c94f0104e4edba68ff77bf1f43 (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=zeroconf-ioslave
pkgver=19.12.3
pkgrel=0
arch="all !armhf"
url="https://www.kde.org/applications/internet/"
pkgdesc="Network Monitor for DNS-SD services (Zeroconf)"
license="GPL-2.0-or-later AND LGPL-2.0-only AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kdbusaddons-dev kdnssd-dev ki18n-dev kio-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/zeroconf-ioslave-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests

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="ef5f1070a86697fc5e197484bdbed26af727fbf81680b929551768a564481cc9447675ed75d6fc61ca3a0bdf51e1a5135fb50d499fbe3e953e997c934c920f60  zeroconf-ioslave-19.12.3.tar.xz"