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


                                                  
              
        
                                      

                                                    


                                                                                    

                                                                                                                                                                                                                                                         



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 
            
                                                                                                                                                                
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kimagemapeditor
pkgver=21.04.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips, ppc64le and s390x blocked by qt5-qtwebengine
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://kde.org/applications/development/org.kde.kimagemapeditor"
pkgdesc="An editor of image maps embedded inside HTML files, based on the <map> tag"
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kguiaddons-dev kiconthemes-dev khtml-dev kparts-dev ki18n-dev kwidgetsaddons-dev kxmlgui-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kimagemapeditor-$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="
a2a36953577b268e93fa16f79f48560c90a35282effd46c0684a3bbbc3bc66034ddf61e65995f5830b7f6695a680e7e6a39e5f37ab7f652b82b36d58f9ceb36a  kimagemapeditor-21.04.2.tar.xz
"