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

Antonio Rojas arojas at archlinux.org
Tue Apr 21 09:09:09 UTC 2015


    Date: Tuesday, April 21, 2015 @ 11:09:09
  Author: arojas
Revision: 131825

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  kcmsystemd/repos/community-staging-i686/
  kcmsystemd/repos/community-staging-i686/PKGBUILD
    (from rev 131824, kcmsystemd/trunk/PKGBUILD)
  kcmsystemd/repos/community-staging-x86_64/
  kcmsystemd/repos/community-staging-x86_64/PKGBUILD
    (from rev 131824, kcmsystemd/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   37 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   37 ++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: kcmsystemd/repos/community-staging-i686/PKGBUILD (from rev 131824, kcmsystemd/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-04-21 09:09:09 UTC (rev 131825)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kcmsystemd
+pkgver=1.1.0
+pkgrel=3
+pkgdesc="Systemd control module for KDE"
+arch=('i686' 'x86_64')
+url='https://github.com/rthomsen/kcmsystemd'
+license=(GPL)
+depends=(kconfigwidgets boost-libs)
+makedepends=(extra-cmake-modules python boost)
+optdepends=('kde-cli-tools: to edit unit files' 'kwrite: to edit unit files')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rthomsen/kcmsystemd/archive/$pkgver.tar.gz")
+md5sums=('8d385b1b2f9c0f054a8de16a50dcbaaa')
+
+prepare() {
+  mkdir -p build
+
+# fix kdesu path (FS#44396)
+  sed -e 's|/lib/libexec/kdesu|/lib/kf5/kdesu|' -i $pkgname-$pkgver/src/kcmsystemd.cpp
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_LIBDIR=lib \
+   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: kcmsystemd/repos/community-staging-x86_64/PKGBUILD (from rev 131824, kcmsystemd/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-04-21 09:09:09 UTC (rev 131825)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kcmsystemd
+pkgver=1.1.0
+pkgrel=3
+pkgdesc="Systemd control module for KDE"
+arch=('i686' 'x86_64')
+url='https://github.com/rthomsen/kcmsystemd'
+license=(GPL)
+depends=(kconfigwidgets boost-libs)
+makedepends=(extra-cmake-modules python boost)
+optdepends=('kde-cli-tools: to edit unit files' 'kwrite: to edit unit files')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rthomsen/kcmsystemd/archive/$pkgver.tar.gz")
+md5sums=('8d385b1b2f9c0f054a8de16a50dcbaaa')
+
+prepare() {
+  mkdir -p build
+
+# fix kdesu path (FS#44396)
+  sed -e 's|/lib/libexec/kdesu|/lib/kf5/kdesu|' -i $pkgname-$pkgver/src/kcmsystemd.cpp
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+   -DCMAKE_INSTALL_PREFIX=/usr \
+   -DCMAKE_BUILD_TYPE=Release \
+   -DCMAKE_INSTALL_LIBDIR=lib \
+   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list