aboutsummaryrefslogblamecommitdiffstats
path: root/community/poxml/APKBUILD
blob: 838cce3e82380594c44ed383e9d3ab56b689587d (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=poxml
pkgver=21.12.1
pkgrel=0
arch="all !armhf !riscv64"
url="https://www.kde.org/applications/development/"
pkgdesc="Translates DocBook XML files using gettext po files"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev gettext-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/poxml-$pkgver.tar.xz"
subpackages="$pkgname-doc"

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="
ac7f6920780ea013c6fab07d9daefc88e8e624e5a22b055c56eef20249d5f70557d1c05b801d642ac9dbccf38a44db748471f06320f97423230fed84a9fb0f6e  poxml-21.12.1.tar.xz
"