core/kwin/PKGBUILD

42 lines
1.3 KiB
Bash
Raw Normal View History

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwin
2014-06-22 20:50:43 +08:00
source ../plasma.conf
pkgname=kwin
2015-02-25 06:55:55 +08:00
pkgver=${PSubVersion}
2018-01-26 04:44:11 +08:00
pkgrel=2
2014-12-01 13:27:04 +08:00
pkgdesc='KDE Window manager'
2014-10-23 03:29:25 +08:00
arch=('x86_64')
2014-12-01 13:27:04 +08:00
url='https://projects.kde.org/projects/kde/workspace/kwin'
2014-06-22 20:50:43 +08:00
license=('LGPL')
2014-10-23 03:29:25 +08:00
depends=('qt5-multimedia' 'plasma-framework' 'knewstuff' 'libxcursor' 'kinit'
2017-02-09 04:25:31 +08:00
'hicolor-icon-theme' 'libepoxy' 'kwayland' 'kdecoration' 'libinput' 'xcb-util-cursor' 'kscreenlocker' 'libxkbcommon')
2014-10-23 03:29:25 +08:00
makedepends=('extra-cmake-modules' 'qt5-tools' 'kdoctools')
2014-06-22 20:50:43 +08:00
groups=('plasma')
2014-12-01 13:27:04 +08:00
install=${pkgname}.install
2014-06-22 20:50:43 +08:00
options=("debug")
2016-10-01 03:01:02 +08:00
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
'SKIP' )
2018-01-26 04:44:11 +08:00
source+=(cmake3.10.patch::https://github.com/KDE/kwin/commit/cd544890ced4192d07467c89e23adbb62d8cea5c.patch)
sha256sums+=('42105c4cd898237851c1631ecea27e0ef96f230ad6f55e9defcf2e499d836ac4')
validpgpkeys=(${Pvalidpgpkeys[@]})
2014-06-22 20:50:43 +08:00
prepare() {
mkdir -p build
2018-01-26 04:44:11 +08:00
cd ${pkgname}-${pkgver}
# fix build with cmake 3.10 (https://github.com/KDE/kwin/commit/cd544890ced4192d07467c89e23adbb62d8cea5c)
patch -p1 -i ${srcdir}/cmake3.10.patch
2014-06-22 20:50:43 +08:00
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
2014-06-22 20:50:43 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}