You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
915 B
Bash

10 years ago
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kwin
10 years ago
pkgver=5.0.0
10 years ago
pkgrel=1
pkgdesc='KDE Window manager'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/workspace/kwin'
license=('LGPL')
10 years ago
depends=('qt5-multimedia' 'plasma-framework' 'kcmutils' 'knewstuff' 'libxcursor' 'kinit')
10 years ago
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
groups=('plasma-next')
10 years ago
source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('b72cc502630bd9631ceb6d44200af924')
10 years ago
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/kf5 \
-DLIB_INSTALL_DIR=lib \
10 years ago
-DQT_PLUGIN_INSTALL_DIR=lib/qt/plugins \
-DQML_INSTALL_DIR=lib/qt/qml \
10 years ago
-DBUILD_TESTING=OFF
# -DSYSCONF_INSTALL_DIR=/etc
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}