diff options
Diffstat (limited to 'testing/poxml/APKBUILD')
-rw-r--r-- | testing/poxml/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/poxml/APKBUILD b/testing/poxml/APKBUILD new file mode 100644 index 0000000000..81a118af56 --- /dev/null +++ b/testing/poxml/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=poxml +pkgver=19.04.3 +pkgrel=0 +arch="all" +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/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="08317130a7e5c189823892ca11f85e19cd5bcf88fd7e86cf4f0643a031dadb4ac26b580c3bd1f7114776cd304d733d1453ad973205afe3aec6a182127be7ccf9 poxml-19.04.3.tar.xz" |