From fa326c95259f71789f58f62a0ea2d707bdc772e8 Mon Sep 17 00:00:00 2001 From: Denis Revin Date: Thu, 13 Oct 2016 14:47:12 +0400 Subject: [PATCH] New package: kinit-5.26.0 --- common/shlibs | 1 + srcpkgs/kinit-devel | 1 + srcpkgs/kinit/INSTALL | 6 ++++++ srcpkgs/kinit/template | 22 ++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 120000 srcpkgs/kinit-devel create mode 100644 srcpkgs/kinit/INSTALL create mode 100644 srcpkgs/kinit/template diff --git a/common/shlibs b/common/shlibs index 54eb80e72b2..279628511de 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2662,6 +2662,7 @@ libKF5QuickAddons.so.5 kdeclarative-5.26.0_1 libKF5CalendarEvents.so.5 kdeclarative-5.26.0_1 libKF5KCMUtils.so.5 kcmutils-5.26.0_1 libKF5Style.so.5 frameworkintegration-5.26.0_1 +libkdeinit5_klauncher.so kinit-5.26.0_1 liblmdb.so.0 lmdb-0.9.18_2 libisns.so.0 libisns-0.96_1 libz80ex.so.1 z80ex-1.1.21_1 diff --git a/srcpkgs/kinit-devel b/srcpkgs/kinit-devel new file mode 120000 index 00000000000..6b333958d93 --- /dev/null +++ b/srcpkgs/kinit-devel @@ -0,0 +1 @@ +kinit \ No newline at end of file diff --git a/srcpkgs/kinit/INSTALL b/srcpkgs/kinit/INSTALL new file mode 100644 index 00000000000..21a84592150 --- /dev/null +++ b/srcpkgs/kinit/INSTALL @@ -0,0 +1,6 @@ +# INSTALL +case "$ACTION" in +post) + setcap CAP_SYS_RESOURCE=+ep /usr/lib/libexec/kf5/start_kdeinit + ;; +esac diff --git a/srcpkgs/kinit/template b/srcpkgs/kinit/template new file mode 100644 index 00000000000..1f7a4e16bfb --- /dev/null +++ b/srcpkgs/kinit/template @@ -0,0 +1,22 @@ +# Template file for 'kinit' +pkgname=kinit +version=5.26.0 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules libcap-progs pkg-config" +makedepends="kio-devel kdoctools-devel libcap-devel" +short_desc="Helper library to speed up start of applications on KDE workspaces" +maintainer="Denis Revin " +license="LGPL-2" +homepage="https://projects.kde.org/projects/frameworks/kinit" +distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=a95b118dbd303ac62c985f5aa27a4a9bfd20720aa013d5c0e971571cad953c0c + +kinit-devel_package() { + short_desc+=" - development" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/cmake + } +}