Date: Sunday, August 21, 2016 @ 05:17:44
  Author: felixonmars
Revision: 274459

upgpkg: kde-dev-scripts 16.08.0-1

Upstream release

Added:
  kde-dev-scripts/trunk/
  kde-dev-scripts/trunk/PKGBUILD
Deleted:
  kde-dev-scripts/trunk/

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD                              (rev 0)
+++ trunk/PKGBUILD      2016-08-21 05:17:44 UTC (rev 274459)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+
+pkgname=kde-dev-scripts
+pkgver=16.08.0
+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/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";)
+sha1sums=('cde890bbf3e185fbc99765344d403522e97c029e')
+
+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
+}


Property changes on: kde-dev-scripts/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Reply via email to