kwindowsystem: intial import

This commit is contained in:
Fabian 2014-01-18 13:38:52 +00:00
parent de107117cc
commit 4901fe09e5

42
kwindowsystem/PKGBUILD Normal file
View File

@ -0,0 +1,42 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=kwindowsystem
pkgver=${KFVersion}
pkgrel=1
pkgdesc='KWindowSystem'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/frameworks/kwindowsystem'
license=('LGPL')
depends=('qt5-x11extras' 'libxfixes')
makedepends=('extra-cmake-modules')
checkdepends=('cmake')
groups=('kf5')
options=('debug')
source=("${KFServer}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('50ba460345478d97b7fe6da6c71a816e')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${KFBuildType} \
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
msg "test fails, requireq GUI?"
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}