[arch-commits] Commit in kde-dev-scripts/trunk (PKGBUILD)

2020-02-09 Thread Antonio Rojas via arch-commits
Date: Sunday, February 9, 2020 @ 18:23:51
  Author: arojas
Revision: 375139

Add perl dependency

Modified:
  kde-dev-scripts/trunk/PKGBUILD

--+
 PKGBUILD |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-02-09 18:21:16 UTC (rev 375138)
+++ PKGBUILD2020-02-09 18:23:51 UTC (rev 375139)
@@ -4,12 +4,13 @@
 
 pkgname=kde-dev-scripts
 pkgver=19.12.2
-pkgrel=1
+pkgrel=2
 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)
+depends=(perl)
 makedepends=(extra-cmake-modules kdoctools)
 
source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
 sha256sums=('eabfa6ab1f251f3ad80ca9536e339189e8055308661abc6a683a368f65f135cb'


[arch-commits] Commit in kde-dev-scripts/trunk (PKGBUILD)

2015-10-17 Thread Antonio Rojas
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
===
--- PKGBUILD2015-10-17 20:00:04 UTC (rev 249471)
+++ PKGBUILD2015-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
 }