[arch-commits] Commit in kdesu/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Jan 13 14:01:54 UTC 2018


    Date: Saturday, January 13, 2018 @ 14:01:53
  Author: arojas
Revision: 314740

archrelease: copy trunk to testing-x86_64

Added:
  kdesu/repos/testing-x86_64/
  kdesu/repos/testing-x86_64/PKGBUILD
    (from rev 314739, kdesu/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 314739, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-01-13 14:01:53 UTC (rev 314740)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=5.42.0
+pkgrel=1
+pkgdesc='Integration with su for elevated privileges'
+arch=('x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('kservice' 'kpty')
+makedepends=('extra-cmake-modules' 'python' 'doxygen' 'qt5-tools')
+groups=('kf5')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('1d9e6b497aa5e0eb8fecfa1519185c944af7014f8a9d77af36d3457e60b80210'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCMAKE_INSTALL_LIBEXECDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+# See FS#44277
+  chown :nobody "${pkgdir}"/usr/lib/kf5/kdesud
+  chmod g+s "${pkgdir}"/usr/lib/kf5/kdesud
+}



More information about the arch-commits mailing list