[arch-commits] Commit in kdesu/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Nov 11 11:43:56 UTC 2017
Date: Saturday, November 11, 2017 @ 11:43:55
Author: arojas
Revision: 309498
archrelease: copy trunk to testing-x86_64
Added:
kdesu/repos/testing-x86_64/
kdesu/repos/testing-x86_64/PKGBUILD
(from rev 309497, kdesu/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 309497, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-11-11 11:43:55 UTC (rev 309498)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=5.40.0
+pkgrel=1
+pkgdesc='Integration with su for elevated privileges'
+arch=('i686' '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=('87a94cdb687d0460737e0adb8105cf2323a09ac539ab63d917ca70961829bb8d'
+ '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 \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DKDE_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