Date: Saturday, March 14, 2015 @ 11:39:56
  Author: arojas
Revision: 233753

archrelease: copy kde-unstable to kde-unstable-any

Added:
  kdesdk-dev-scripts/repos/kde-unstable-any/
  kdesdk-dev-scripts/repos/kde-unstable-any/PKGBUILD
    (from rev 233752, kdesdk-dev-scripts/kde-unstable/PKGBUILD)

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

Copied: kdesdk-dev-scripts/repos/kde-unstable-any/PKGBUILD (from rev 233752, 
kdesdk-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD                           (rev 0)
+++ kde-unstable-any/PKGBUILD   2015-03-14 10:39:56 UTC (rev 233753)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=15.03.90
+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=('any')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz";)
+sha1sums=('81cacb0f3a884e2a8fcc118bdf4ef2bd545d1596')
+
+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}
+}

Reply via email to