[arch-commits] Commit in kde-dev-scripts/repos (2 files)

Antonio Rojas arojas at archlinux.org
Wed Jul 29 08:06:04 UTC 2015


    Date: Wednesday, July 29, 2015 @ 10:06:04
  Author: arojas
Revision: 242775

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

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

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

Copied: kde-dev-scripts/repos/kde-unstable-any/PKGBUILD (from rev 242774, kde-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2015-07-29 08:06:04 UTC (rev 242775)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kde-dev-scripts
+pkgver=15.07.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=('any')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdesdk')
+makedepends=('extra-cmake-modules' 'kdoctools' 'kdelibs4support')
+replaces=('kdesdk-dev-scripts')
+conflicts=('kdesdk-dev-scripts')
+source=("http://download.kde.org/unstable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('bfdb9b33388b0437f664b57a79fc1ad55239a031')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -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.py,kde-systemsettings-tree.py,reviewboard-am}
+  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