[arch-commits] Commit in kde-dev-scripts/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 17 20:16:25 UTC 2015
Date: Saturday, October 17, 2015 @ 22:16:25
Author: arojas
Revision: 249472
Install additional files (FS#46760)
Modified:
kde-dev-scripts/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-10-17 20:00:04 UTC (rev 249471)
+++ PKGBUILD 2015-10-17 20:16:25 UTC (rev 249472)
@@ -5,7 +5,7 @@
pkgname=kde-dev-scripts
pkgver=15.08.2
-pkgrel=1
+pkgrel=2
pkgdesc='Scripts and setting files useful during development of KDE software'
url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts'
arch=('any')
@@ -14,7 +14,7 @@
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")
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
sha1sums=('5b6674ae9860b3ffe51c444aed95aba0bb0d55a7')
prepare() {
@@ -35,7 +35,12 @@
# 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}
+ "$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}
+ "$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