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

Andrea Scarpino andrea at nymeria.archlinux.org
Sat Dec 21 12:08:47 UTC 2013


    Date: Saturday, December 21, 2013 @ 13:08:47
  Author: andrea
Revision: 202311

archrelease: copy trunk to kde-unstable-x86_64

Added:
  kdesu/repos/kde-unstable-x86_64/
  kdesu/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 202310, kdesu/trunk/PKGBUILD)

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

Copied: kdesu/repos/kde-unstable-x86_64/PKGBUILD (from rev 202310, kdesu/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2013-12-21 12:08:47 UTC (rev 202311)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesu
+pkgver=r5.4bcc102
+pkgrel=1
+pkgdesc='KDE Su'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kdesu'
+license=('LGPL')
+depends=('kservice' 'kpty')
+makedepends=('extra-cmake-modules' 'git')
+groups=('kf5')
+source=('git://anongit.kde.org/kdesu.git')
+md5sums=('SKIP')
+
+pkgver() {
+  cd kdesu
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kdesu \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+    -DLIB_INSTALL_DIR=lib \
+    -DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}




More information about the arch-commits mailing list