[arch-commits] Commit in kinit/repos (4 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jul 9 20:26:33 UTC 2022
Date: Saturday, July 9, 2022 @ 20:26:33
Author: arojas
Revision: 450646
archrelease: copy trunk to testing-x86_64
Added:
kinit/repos/testing-x86_64/
kinit/repos/testing-x86_64/PKGBUILD
(from rev 450645, kinit/trunk/PKGBUILD)
kinit/repos/testing-x86_64/keys/
kinit/repos/testing-x86_64/kinit.install
(from rev 450645, kinit/trunk/kinit.install)
---------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
kinit.install | 9 +++++++++
2 files changed, 40 insertions(+)
Copied: kinit/repos/testing-x86_64/PKGBUILD (from rev 450645, kinit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-07-09 20:26:33 UTC (rev 450646)
@@ -0,0 +1,31 @@
+# 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.96.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=('b88dd3dd97791f4c786e89d9bd771675070d030f889c90104b5b8aca2240fdf8'
+ 'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+options=(debug)
+
+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/testing-x86_64/kinit.install (from rev 450645, kinit/trunk/kinit.install)
===================================================================
--- testing-x86_64/kinit.install (rev 0)
+++ testing-x86_64/kinit.install 2022-07-09 20:26:33 UTC (rev 450646)
@@ -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