aboutsummaryrefslogblamecommitdiffstats
path: root/community/print-manager/APKBUILD
blob: 8e7a6950a10a68a77ade7f5833013db447e02031 (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=print-manager
pkgver=19.12.0
pkgrel=0
arch="all"
url="https://www.kde.org/applications/utilities/"
pkgdesc="A tool for managing print jobs and printers"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev cups-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kiconthemes-dev ki18n-dev kcmutils-dev kio-dev knotifications-dev plasma-framework-dev kwidgetsaddons-dev kwindowsystem-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/print-manager-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # No tests available

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}

sha512sums="88c30d81521de51da98c04a2c3a2584975376f14771169a95df9f9f1635a39a19eaef3c94e44bca44857af8b7de11b6e2ef159562cadb4cbc57ec7cce7914f48  print-manager-19.12.0.tar.xz"