PKGBUILDs/extra/kwin/PKGBUILD

43 lines
1 KiB
Bash
Raw Normal View History

2015-08-29 17:56:46 +00:00
# $Id$
2015-03-01 16:08:18 +00:00
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
2015-08-29 17:56:46 +00:00
# remove when bumped upstream
pkgname=kwin
2015-08-29 13:50:14 +00:00
pkgver=5.4.0
2015-05-26 12:45:42 +00:00
pkgrel=1
pkgdesc='KDE Window manager'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/kde/workspace/kwin'
license=('LGPL')
2015-05-03 20:14:13 +00:00
depends=('qt5-multimedia' 'plasma-framework' 'knewstuff' 'xcb-util-cursor' 'kinit'
2015-08-29 13:50:14 +00:00
'hicolor-icon-theme' 'kwayland' 'kdecoration')
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
2015-08-29 17:56:46 +00:00
groups=('plasma')
install=${pkgname}.install
conflicts=('kdebase-workspace')
2015-08-29 17:56:46 +00:00
source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('38b4a6d540ec6bbe94c0ec658c47eb5c')
prepare() {
2015-01-27 13:02:48 +00:00
mkdir build
}
build() {
cd build
2014-11-11 13:37:29 +00:00
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
2014-10-26 19:12:33 +00:00
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
2015-08-29 17:56:46 +00:00
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}