2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kdecoration
|
2019-03-13 10:49:52 +00:00
|
|
|
pkgver=5.15.3
|
2018-12-29 20:27:48 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Plugin based library to create window decorations"
|
2017-08-03 20:14:04 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="LGPL-2.1"
|
|
|
|
depends_dev="qt5-qtbase-dev"
|
2018-06-13 22:00:52 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules ki18n-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
2017-08-17 16:19:36 +00:00
|
|
|
subpackages="$pkgname-dev"
|
2017-11-26 17:08:10 +00:00
|
|
|
options="!check" # Fails due to requiring running X11
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-12 15:04:21 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2017-08-03 20:14:04 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2019-03-13 10:49:52 +00:00
|
|
|
sha512sums="026d1310e64089af68b91c3288da0f146cbf955df951abdb59e3505b77bc3c350665aca08c71d0927c9dbb39b68515acce4b788d6900a0dd1e85e43d38ddd8f2 kdecoration-5.15.3.tar.xz"
|