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.

40 lines
1001 B
Bash

10 years ago
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=kwin
10 years ago
pkgver=5.1.0.1
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' 'knewstuff' 'libxcursor' 'kinit'
'hicolor-icon-theme' 'libepoxy' 'kwayland')
10 years ago
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
groups=('plasma-next')
10 years ago
install=${pkgname}.install
10 years ago
conflicts=('kdebase-workspace')
10 years ago
source=("http://download.kde.org/stable/plasma/5.1.0/${pkgname}-${pkgver}.tar.xz")
md5sums=('ab52f7ad3630b4da94b5e5dd09358e66')
10 years ago
prepare() {
mkdir -p build
}
build() {
cd build
10 years ago
cmake ../${pkgname}-5.1.0 \
10 years ago
-DCMAKE_BUILD_TYPE=Release \
10 years ago
-DCMAKE_INSTALL_PREFIX=/usr \
10 years ago
-DLIB_INSTALL_DIR=lib \
10 years ago
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
10 years ago
-DQML_INSTALL_DIR=lib/qt/qml \
10 years ago
-DBUILD_TESTING=OFF \
-DSYSCONF_INSTALL_DIR=/etc
10 years ago
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}