Date: Friday, November 20, 2015 @ 00:11:59 Author: arojas Revision: 251463
Add KF5 version of poxml Added: poxml/ poxml/kde-unstable/ poxml/kde-unstable/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Added: poxml/kde-unstable/PKGBUILD =================================================================== --- poxml/kde-unstable/PKGBUILD (rev 0) +++ poxml/kde-unstable/PKGBUILD 2015-11-19 23:11:59 UTC (rev 251463) @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 250288 2015-11-09 21:13:39Z arojas $ +# Maintainer: Felix Yan <[email protected]> +# Maintainer: Antonio Rojas <[email protected]> +# Contributor: Andrea Scarpino <[email protected]> + +pkgname=poxml +pkgver=15.11.80 +pkgrel=1 +pkgdesc='Translates DocBook XML files using gettext po files' +url='https://projects.kde.org/projects/kde/kdesdk/poxml' +arch=(i686 x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdesdk) +depends=(qt5-base gettext) +makedepends=(extra-cmake-modules kdoctools) +source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz") +sha1sums=('c9307d9230cd6c732d87054f5f329735313f93c5') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}
