aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdecoration
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-01 20:13:40 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-19 21:18:38 -0300
commitead3ed5f0b5aa03e2fc2d4e61072bb4a79925eec (patch)
treef648c30d12a18696ab290cb900626738801a1729 /testing/kdecoration
parent3c95724c26c1b95b3e9b18cc469d78d878dbae28 (diff)
downloadaports-ead3ed5f0b5aa03e2fc2d4e61072bb4a79925eec.tar.gz
aports-ead3ed5f0b5aa03e2fc2d4e61072bb4a79925eec.tar.bz2
aports-ead3ed5f0b5aa03e2fc2d4e61072bb4a79925eec.tar.xz
testing/kdecoration: new aport
Diffstat (limited to 'testing/kdecoration')
-rw-r--r--testing/kdecoration/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kdecoration/APKBUILD b/testing/kdecoration/APKBUILD
new file mode 100644
index 0000000000..061c890e8a
--- /dev/null
+++ b/testing/kdecoration/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kdecoration
+pkgver=5.16.1
+pkgrel=0
+pkgdesc="Plugin based library to create window decorations"
+arch="all"
+url="https://www.kde.org/workspaces/plasmadesktop/"
+license="LGPL-2.1-only OR LGPL-3.0-only"
+depends_dev="qt5-qtbase-dev ki18n-dev"
+makedepends="$depends_dev extra-cmake-modules"
+source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+options="!check" # Fails due to requiring running X11
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="510c6c81186199c0abcf24514454d45f7a01048dacdf7f48b9e52533a0d7a76f983d4dd6c8593ae74c8f4b6819b35cadc11a0682844aab9233cc60821f74491a kdecoration-5.16.1.tar.xz"