[arch-commits] Commit in kdesdk-dev-scripts/repos (4 files)

Felix Yan fyan at archlinux.org
Wed Nov 19 19:03:16 UTC 2014


    Date: Wednesday, November 19, 2014 @ 20:03:15
  Author: fyan
Revision: 226677

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

Added:
  kdesdk-dev-scripts/repos/testing-i686/
  kdesdk-dev-scripts/repos/testing-i686/PKGBUILD
    (from rev 226676, kdesdk-dev-scripts/trunk/PKGBUILD)
  kdesdk-dev-scripts/repos/testing-x86_64/
  kdesdk-dev-scripts/repos/testing-x86_64/PKGBUILD
    (from rev 226676, kdesdk-dev-scripts/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: kdesdk-dev-scripts/repos/testing-i686/PKGBUILD (from rev 226676, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-19 19:03:15 UTC (rev 226677)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.14.3
+pkgrel=1
+pkgdesc='Scripts and setting files useful during development of KDE software'
+url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('d52bc1ef596f886a9ee4ac9e665d4130e4b72a00')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kde-dev-scripts-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir install
+
+  # Fix python 2 path
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/{zonetab2pot,kde-systemsettings-tree}.py
+  sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
+}

Copied: kdesdk-dev-scripts/repos/testing-x86_64/PKGBUILD (from rev 226676, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-19 19:03:15 UTC (rev 226677)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.14.3
+pkgrel=1
+pkgdesc='Scripts and setting files useful during development of KDE software'
+url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('d52bc1ef596f886a9ee4ac9e665d4130e4b72a00')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kde-dev-scripts-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir install
+
+  # Fix python 2 path
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/{zonetab2pot,kde-systemsettings-tree}.py
+  sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
+}


More information about the arch-commits mailing list