Username: Password: Remember me
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
 
pkgname=kwindowsystem
pkgver=5.24.0
pkgrel=1
pkgdesc='Access to the windowing system'
arch=('i686' 'x86_64')
url='https://community.kde.org/Frameworks'
license=('LGPL')
depends=('qt5-x11extras' 'libxfixes')
makedepends=('extra-cmake-modules' 'qt5-tools')
groups=('kf5')
source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
        "rb128576.patch")
md5sums=('65da4c0f405fe373138e05c7fb7bd09a'
         'SKIP')
 
prepare() {
  mkdir build
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../rb128576.patch
}
 
build() {
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DKDE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF
  make
}
 
package() {
  cd build
  make DESTDIR="${pkgdir}" install
}