diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-07-14 00:55:42 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-13 22:20:39 -0300 |
commit | c702f2a812cfbc5c0c1a68b6f120cf332f788f1f (patch) | |
tree | 800e1687809b5e688995a9948d19af9e577a167d /community/purpose | |
parent | 8d48f29796e55f6906ecb8cb8ef27e1b4dc3b820 (diff) | |
download | aports-c702f2a812cfbc5c0c1a68b6f120cf332f788f1f.tar.bz2 aports-c702f2a812cfbc5c0c1a68b6f120cf332f788f1f.tar.xz |
community/kde-frameworks: move from testing
Diffstat (limited to 'community/purpose')
-rw-r--r-- | community/purpose/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/purpose/APKBUILD b/community/purpose/APKBUILD new file mode 100644 index 0000000000..2d998819de --- /dev/null +++ b/community/purpose/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=purpose +pkgver=5.60.0 +pkgrel=0 +pkgdesc="Framework for providing abstractions to get the developer's purposes fulfilled" +arch="all" +url="https://community.kde.org/Frameworks" +license="LGPL-2.1" +depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kconfig-dev kio-dev + kirigami2-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-dev $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=ON + make +} + +check() { + # This is 1 of 2 tests + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E 'menutest' +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="0d26fb1b8d0d50843da036a1f6f789ae2457afb9ab449d45be35fca79712b6d8a7974faa89bc5f6605dd8b738bb1011a6cd8d294dfdf118339f784083808d3af purpose-5.60.0.tar.xz" |