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

Andrea Scarpino andrea at nymeria.archlinux.org
Fri Nov 8 20:44:20 UTC 2013


    Date: Friday, November 8, 2013 @ 21:44:20
  Author: andrea
Revision: 199223

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdesdk-dev-scripts/repos/kde-unstable-i686/
  kdesdk-dev-scripts/repos/kde-unstable-i686/PKGBUILD
    (from rev 199222, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
  kdesdk-dev-scripts/repos/kde-unstable-x86_64/
  kdesdk-dev-scripts/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 199222, kdesdk-dev-scripts/kde-unstable/PKGBUILD)

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

Copied: kdesdk-dev-scripts/repos/kde-unstable-i686/PKGBUILD (from rev 199222, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2013-11-08 20:44:20 UTC (rev 199223)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.11.80
+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/unstable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('93daee92b0cb3861a622b9b2e690ac7e833c4e89')
+
+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/kde-unstable-x86_64/PKGBUILD (from rev 199222, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2013-11-08 20:44:20 UTC (rev 199223)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.11.80
+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/unstable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('93daee92b0cb3861a622b9b2e690ac7e833c4e89')
+
+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