diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-22 00:44:07 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-28 17:14:48 +0000 |
commit | 5c26be8d2e57649cf6d39a9401e695a85d953390 (patch) | |
tree | 85aac48b5a83ee6ec2dd0cfb9b212638bb4cdf55 /testing | |
parent | a020802e6a80901cdb21f6b3e27f747c31c7ce51 (diff) | |
download | aports-5c26be8d2e57649cf6d39a9401e695a85d953390.tar.bz2 aports-5c26be8d2e57649cf6d39a9401e695a85d953390.tar.xz |
testing/ki18n: new aport
Closes GH-7992
Diffstat (limited to 'testing')
-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" |