[arch-commits] Commit in kdesu/repos (4 files)

Antonio Rojas arojas at archlinux.org
Sat Jan 14 12:20:00 UTC 2017


    Date: Saturday, January 14, 2017 @ 12:20:00
  Author: arojas
Revision: 286335

archrelease: copy trunk to testing-i686, testing-x86_64

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

-------------------------+
 testing-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: kdesu/repos/testing-i686/PKGBUILD (from rev 286334, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2017-01-14 12:20:00 UTC (rev 286335)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=5.30.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')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+md5sums=('9c4b00e60a94b1bb6dda8bd767e6ce0d'
+         '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
+  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
+}

Copied: kdesu/repos/testing-x86_64/PKGBUILD (from rev 286334, kdesu/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2017-01-14 12:20:00 UTC (rev 286335)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=5.30.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')
+groups=('kf5')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+md5sums=('9c4b00e60a94b1bb6dda8bd767e6ce0d'
+         '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
+  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