diff options
Diffstat (limited to 'testing/ki18n/APKBUILD')
-rw-r--r-- | testing/ki18n/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/ki18n/APKBUILD b/testing/ki18n/APKBUILD new file mode 100644 index 0000000000..5b92da4bcd --- /dev/null +++ b/testing/ki18n/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=ki18n +pkgver=5.58.0 +pkgrel=0 +pkgdesc="Advanced internationalization framework" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-or-later)" +depends_dev="qt5-qtdeclarative-dev qt5-qtscript-dev" +makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +options="!check" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + + +package() { + DESTDIR="$pkgdir" make install +} + +sha512sums="dae7dbfeb887db2f799619222702e2767a7a4f83e21a718af7f9376e735928846f4d792f9fa30dcf4d9010efdd5ffd926a89fb0fa9dd068e2573d2d47159a971 ki18n-5.58.0.tar.xz" |