diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-22 23:04:02 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-22 18:09:41 -0300 |
commit | d30eaa157bcea65eab6ac6723b37380d1d29bcdb (patch) | |
tree | 47ce7909c761526f76f1137d25249d8f252286ed /testing | |
parent | f8587c5d534c85cc1a9561ceb1f7354f01e655ed (diff) | |
download | aports-d30eaa157bcea65eab6ac6723b37380d1d29bcdb.tar.bz2 aports-d30eaa157bcea65eab6ac6723b37380d1d29bcdb.tar.xz |
testing/plasma-sdk: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/plasma-sdk/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/plasma-sdk/APKBUILD b/testing/plasma-sdk/APKBUILD new file mode 100644 index 0000000000..5ee0260d9d --- /dev/null +++ b/testing/plasma-sdk/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=plasma-sdk +pkgver=5.16.1 +pkgrel=0 +pkgdesc="Applications useful for Plasma Development" +arch="all" +url="https://www.kde.org/workspaces/plasmadesktop/" +license="GPL-2.0-or-later" +depends="kirigami2" +makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev ki18n-dev kiconthemes-dev kio-dev plasma-framework-dev kservice-dev ktexteditor-dev kwidgetsaddons-dev kdoctools-dev kparts-dev" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" +subpackages="$pkgname-doc $pkgname-lang" + +prepare() { + default_prepare + + mkdir "$builddir"/build +} + +build() { + cd "$builddir"/build + cmake "$builddir" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make +} + +check() { + cd "$builddir"/build + CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest +} + +package() { + cd "$builddir"/build + DESTDIR="$pkgdir" make install +} + +sha512sums="8c759129d6b158b20bbe30c621f2960c66d6a8d319e32e7b9f4729d9d1684afd812b25b314e82470e200da2bb6a063d3b3cdedac567363a58aea99802cc1cf73 plasma-sdk-5.16.1.tar.xz" |