[arch-commits] Commit in kinit/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Jan 8 11:13:02 UTC 2022
Date: Saturday, January 8, 2022 @ 11:13:02
Author: arojas
Revision: 433909
archrelease: copy trunk to testing-x86_64
Added:
kinit/repos/testing-x86_64/
kinit/repos/testing-x86_64/PKGBUILD
(from rev 433908, kinit/trunk/PKGBUILD)
kinit/repos/testing-x86_64/kinit.install
(from rev 433908, kinit/trunk/kinit.install)
---------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
kinit.install | 9 +++++++++
2 files changed, 39 insertions(+)
Copied: kinit/repos/testing-x86_64/PKGBUILD (from rev 433908, kinit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-01-08 11:13:02 UTC (rev 433909)
@@ -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.90.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=('2a3858eeb80b044e884bdc77e110e7ecb34cdb91575c544a95502123a183c57c'
+ '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/testing-x86_64/kinit.install (from rev 433908, kinit/trunk/kinit.install)
===================================================================
--- testing-x86_64/kinit.install (rev 0)
+++ testing-x86_64/kinit.install 2022-01-08 11:13:02 UTC (rev 433909)
@@ -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