[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Sep 14 21:55:20 UTC 2015
Date: Monday, September 14, 2015 @ 23:55:20
Author: arojas
Revision: 246213
archrelease: copy trunk to testing-any
Added:
kde-dev-scripts/repos/testing-any/
kde-dev-scripts/repos/testing-any/PKGBUILD
(from rev 246212, kde-dev-scripts/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 246212, kde-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2015-09-14 21:55:20 UTC (rev 246213)
@@ -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.08.1
+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/stable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('c913c39327d3a99ab5251d7459f0c753c52500b6')
+
+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