[arch-commits] Commit in kinit/repos (3 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Nov 13 11:13:20 UTC 2021
Date: Saturday, November 13, 2021 @ 11:13:20
Author: arojas
Revision: 428248
archrelease: copy trunk to testing-x86_64
Added:
kinit/repos/testing-x86_64/
kinit/repos/testing-x86_64/PKGBUILD
(from rev 428247, kinit/trunk/PKGBUILD)
kinit/repos/testing-x86_64/kinit.install
(from rev 428247, kinit/trunk/kinit.install)
---------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
kinit.install | 9 +++++++++
2 files changed, 39 insertions(+)
Copied: kinit/repos/testing-x86_64/PKGBUILD (from rev 428247, kinit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-11-13 11:13:20 UTC (rev 428248)
@@ -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.88.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=('106448c5b7f2859243cd22c2f04790de78707f6d2926682f3ea39ec4c0b650c2'
+ '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 428247, kinit/trunk/kinit.install)
===================================================================
--- testing-x86_64/kinit.install (rev 0)
+++ testing-x86_64/kinit.install 2021-11-13 11:13:20 UTC (rev 428248)
@@ -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