[arch-commits] Commit in kinit/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Dec 12 15:27:20 UTC 2021
Date: Sunday, December 12, 2021 @ 15:27:19
Author: arojas
Revision: 431975
archrelease: copy trunk to kde-unstable-x86_64
Added:
kinit/repos/kde-unstable-x86_64/
kinit/repos/kde-unstable-x86_64/PKGBUILD
(from rev 431974, kinit/trunk/PKGBUILD)
kinit/repos/kde-unstable-x86_64/kinit.install
(from rev 431974, kinit/trunk/kinit.install)
---------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
kinit.install | 9 +++++++++
2 files changed, 39 insertions(+)
Copied: kinit/repos/kde-unstable-x86_64/PKGBUILD (from rev 431974, kinit/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2021-12-12 15:27:19 UTC (rev 431975)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kinit
+pkgver=5.89.0
+pkgrel=1
+pkgdesc='Process launcher to speed up launching KDE applications'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(kio)
+makedepends=(extra-cmake-modules kdoctools)
+groups=(kf5)
+source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+install=kinit.install
+sha256sums=('2967d19fc01c2a9cedd0036eccf17e6d21e7e8cfc16f171e992180edcfc78ad2'
+ 'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
Copied: kinit/repos/kde-unstable-x86_64/kinit.install (from rev 431974, kinit/trunk/kinit.install)
===================================================================
--- kde-unstable-x86_64/kinit.install (rev 0)
+++ kde-unstable-x86_64/kinit.install 2021-12-12 15:27:19 UTC (rev 431975)
@@ -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_RESOURCE=+ep /usr/lib/kf5/start_kdeinit
+}
+
+post_upgrade() {
+ post_install
+}
+
More information about the arch-commits
mailing list