[arch-commits] Commit in kwin/repos (3 files)
Antonio Rojas
arojas at archlinux.org
Tue May 26 18:47:59 UTC 2020
Date: Tuesday, May 26, 2020 @ 18:47:59
Author: arojas
Revision: 387600
archrelease: copy trunk to staging-x86_64
Added:
kwin/repos/staging-x86_64/
kwin/repos/staging-x86_64/PKGBUILD
(from rev 387599, kwin/trunk/PKGBUILD)
kwin/repos/staging-x86_64/kwin.install
(from rev 387599, kwin/trunk/kwin.install)
--------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
kwin.install | 9 +++++++++
2 files changed, 49 insertions(+)
Copied: kwin/repos/staging-x86_64/PKGBUILD (from rev 387599, kwin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-26 18:47:59 UTC (rev 387600)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kwin
+pkgver=5.18.5
+pkgrel=3
+pkgdesc='An easy to use, but flexible, composited Window Manager'
+arch=(x86_64)
+url='https://www.kde.org/workspaces/plasmadesktop/'
+license=(LGPL)
+depends=(kscreenlocker xcb-util-cursor plasma-framework kcmutils breeze kinit qt5-sensors qt5-script)
+makedepends=(extra-cmake-modules qt5-tools kdoctools)
+optdepends=('qt5-virtualkeyboard: virtual keyboard support for kwin-wayland')
+groups=(plasma)
+source=("https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"{,.sig})
+install=$pkgname.install
+sha256sums=('ca39c63fd740432e95490031fd9d5ac003da034582014fa41c2be2b89627ddf8'
+ 'SKIP')
+validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell <jr at jriddell.org>
+ '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah <bshah at kde.org>
+ 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson <davidedmundson at kde.org>
+ '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart at gmail.com>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
Copied: kwin/repos/staging-x86_64/kwin.install (from rev 387599, kwin/trunk/kwin.install)
===================================================================
--- staging-x86_64/kwin.install (rev 0)
+++ staging-x86_64/kwin.install 2020-05-26 18:47:59 UTC (rev 387600)
@@ -0,0 +1,9 @@
+post_install() {
+# this is executed by make install, but doesn't work since setcap can only be run as root
+ setcap CAP_SYS_NICE=+ep /usr/bin/kwin_wayland
+}
+
+post_upgrade() {
+ post_install
+}
+
More information about the arch-commits
mailing list