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

Antonio Rojas arojas at archlinux.org
Sat Jul 23 18:56:51 UTC 2016


    Date: Saturday, July 23, 2016 @ 18:56:51
  Author: arojas
Revision: 272402

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 272401, kde-dev-scripts/kde-unstable/PKGBUILD)

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

Copied: kde-dev-scripts/repos/kde-unstable-any/PKGBUILD (from rev 272401, kde-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-any/PKGBUILD	                        (rev 0)
+++ kde-unstable-any/PKGBUILD	2016-07-23 18:56:51 UTC (rev 272402)
@@ -0,0 +1,46 @@
+# $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=16.07.80
+pkgrel=1
+pkgdesc='Scripts and setting files useful during development of KDE software'
+url='https://www.kde.org/applications/development/'
+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/$pkgname-$pkgver.tar.xz")
+sha1sums=('e86062e3dc04b571ff65090fdfcdb8c80d5407eb')
+
+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}
+
+# Install additional files
+  cd "$srcdir"/$pkgname-$pkgver
+  mkdir -p "$pkgdir"/usr/share/kde-dev-scripts
+  cp -r kde-devel-* gdb "$pkgdir"/usr/share/kde-dev-scripts
+}



More information about the arch-commits mailing list