[arch-commits] Commit in kinit/repos/extra-x86_64 (PKGBUILD PKGBUILD kinit.install)

Antonio Rojas arojas at archlinux.org
Sun Feb 14 23:06:54 UTC 2021


    Date: Sunday, February 14, 2021 @ 23:06:54
  Author: arojas
Revision: 408151

archrelease: copy trunk to extra-x86_64

Added:
  kinit/repos/extra-x86_64/PKGBUILD
    (from rev 408150, kinit/trunk/PKGBUILD)
  kinit/repos/extra-x86_64/kinit.install
    (from rev 408150, kinit/trunk/kinit.install)
Deleted:
  kinit/repos/extra-x86_64/PKGBUILD

---------------+
 PKGBUILD      |   60 ++++++++++++++++++++++++++++----------------------------
 kinit.install |    9 ++++++++
 2 files changed, 39 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-14 23:06:37 UTC (rev 408150)
+++ PKGBUILD	2021-02-14 23:06:54 UTC (rev 408151)
@@ -1,30 +0,0 @@
-# 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.79.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=('3b1727caf611f354ec2d3a2c0d74458cdfcc98325122ee64f35cf1a8de88f95e'
-            '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/extra-x86_64/PKGBUILD (from rev 408150, kinit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-14 23:06:54 UTC (rev 408151)
@@ -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.79.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=('3b1727caf611f354ec2d3a2c0d74458cdfcc98325122ee64f35cf1a8de88f95e'
+            '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/extra-x86_64/kinit.install (from rev 408150, kinit/trunk/kinit.install)
===================================================================
--- kinit.install	                        (rev 0)
+++ kinit.install	2021-02-14 23:06:54 UTC (rev 408151)
@@ -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