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


                                                  
              
        
                                      

                                                    


                                                         







                           
                                                                                        


                                        
                        
                                         

                                             
                           


         
                



                                          
                                               

 
            
                                                                                                                                                     
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kmag
pkgver=21.12.1
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips64, s390x and riscv64 blocked by polkit -> kio
arch="all !armhf !mips64 !s390x !riscv64"
url="https://kde.org/applications/utilities/org.kde.kmag"
pkgdesc="A screen magnifier"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	extra-cmake-modules
	kdoctools-dev
	ki18n-dev
	kio-dev
	kxmlgui-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kmag-$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 ctest
}

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

sha512sums="
f098ab1226aba01f17b91b9067ca74a46cbbb8212a51e46493bb9adc9ea114a9a7e0e6b41f9ce312c5b1606ecffeb2e6e42f25089ed0be640f4dfc74f2ab933c  kmag-21.12.1.tar.xz
"