051a33e2e9
Fix #377
34 lines
951 B
Text
34 lines
951 B
Text
pkgname=kwindowsystem
|
|
pkgver=5.37.0
|
|
pkgrel=1
|
|
pkgdesc='Access to the windowing system'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL"
|
|
depends="qt5-x11extras libxfixes"
|
|
makedepends="extra-cmake-modules qt5-qttools-dev doxygen qt5-x11extras-dev libxrender-dev xcb-util-keysyms-dev"
|
|
groups="kf5"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
prepare() {
|
|
mkdir -p $srcdir/build
|
|
}
|
|
|
|
build() {
|
|
cd $srcdir/build
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
sha512sums="136b772820e8f8b7cd4e0e5e04b4f61495fe6adb56fc5e025efd60dc0293c88632ece19fcdcda4cffcb8c04e3515aca5fbcc80309e6f01d727e56a45c81dc744 kwindowsystem-5.37.0.tar.xz"
|