def0dac79f
Built and tested on x86_64. [ci:skip-build]: ollieparanoid made sure that this builds for all arches
33 lines
950 B
Text
33 lines
950 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kdecoration
|
|
pkgver=5.15.3
|
|
pkgrel=0
|
|
pkgdesc="Plugin based library to create window decorations"
|
|
arch="all"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="LGPL-2.1"
|
|
depends_dev="qt5-qtbase-dev"
|
|
makedepends="$depends_dev extra-cmake-modules ki18n-dev"
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev"
|
|
options="!check" # Fails due to requiring running X11
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="026d1310e64089af68b91c3288da0f146cbf955df951abdb59e3505b77bc3c350665aca08c71d0927c9dbb39b68515acce4b788d6900a0dd1e85e43d38ddd8f2 kdecoration-5.15.3.tar.xz"
|