[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, December 10, 2020 @ 13:30:06 Author: arojas Revision: 403435 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 403434, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 403434, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2020-12-10 13:30:06 UTC (rev 403435) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=20.12.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) +depends=(perl) +makedepends=(extra-cmake-modules kdoctools) +source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('b38233ff8ab8ddf19c433ae298545a44595d8f710a8b277d4a3b6ebafbdadf88' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +build() { + cmake -B build -S $pkgname-$pkgver + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # 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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, August 13, 2020 @ 15:26:37 Author: arojas Revision: 393770 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 393769, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 393769, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2020-08-13 15:26:37 UTC (rev 393770) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=20.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) +depends=(perl) +makedepends=(extra-cmake-modules kdoctools) +source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('2c3120e63ebcd41e30acfd53063bad659e1982f79b81429e0541b0100bc25ad3' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +build() { + cmake -B build -S $pkgname-$pkgver + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + # 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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, April 23, 2020 @ 12:35:52 Author: arojas Revision: 380872 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 380871, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 380871, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2020-04-23 12:35:52 UTC (rev 380872) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=20.04.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) +depends=(perl) +makedepends=(extra-cmake-modules kdoctools) +source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('b72308960b6c126bbdb8cc5075d1ea632791ab4912aad267c1e62f558e6122d1' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver + 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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Tuesday, August 20, 2019 @ 09:12:58 Author: felixonmars Revision: 360434 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 360433, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 360433, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2019-08-20 09:12:58 UTC (rev 360434) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=19.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) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('8028d1f5390f608974235123a7c14342fb0c247456e6088d4f16797875efdf18' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Saturday, April 20, 2019 @ 16:56:45 Author: arojas Revision: 351232 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 351231, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 351231, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2019-04-20 16:56:45 UTC (rev 351232) @@ -0,0 +1,47 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=19.04.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) +replaces=(kdesdk-dev-scripts) +conflicts=(kdesdk-dev-scripts) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('23b777143c9402bf089cd2f84c5ac363183b74dcf81be8c08d74d5d099e898e5' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Thursday, December 13, 2018 @ 12:03:43 Author: arojas Revision: 341826 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 341825, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 341825, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-12-13 12:03:43 UTC (rev 341826) @@ -0,0 +1,47 @@ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=18.12.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=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('b1d31d630903f3a964b3ebf448b66cf7093e143c01be5062c9815321489c950f' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Friday, August 17, 2018 @ 14:58:48 Author: arojas Revision: 331849 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 331848, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 331848, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2018-08-17 14:58:48 UTC (rev 331849) @@ -0,0 +1,48 @@ +# $Id$ +# Maintainer: Felix Yan +# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=18.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=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('d10fafad42747eb0b0972686fc86e5e517e0d00957788cbf69ad0fcb43aa96be' +'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ +-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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Sunday, August 21, 2016 @ 05:17:57 Author: felixonmars Revision: 274460 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 274459, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 274459, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2016-08-21 05:17:57 UTC (rev 274460) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan+# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
Date: Tuesday, February 16, 2016 @ 09:54:18 Author: arojas Revision: 259531 archrelease: copy trunk to testing-any Added: kde-dev-scripts/repos/testing-any/ kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 259530, kde-dev-scripts/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: kde-dev-scripts/repos/testing-any/PKGBUILD (from rev 259530, kde-dev-scripts/trunk/PKGBUILD) === --- testing-any/PKGBUILD(rev 0) +++ testing-any/PKGBUILD2016-02-16 08:54:18 UTC (rev 259531) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Felix Yan+# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +pkgname=kde-dev-scripts +pkgver=15.12.2 +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/$pkgname-$pkgver.tar.xz;) +sha1sums=('5498d13c0a95768209edbbf86827cf90f8390f54') + +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 +}
[arch-commits] Commit in kde-dev-scripts/repos (testing-any testing-any/PKGBUILD)
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/PKGBUILD2015-09-14 21:55:20 UTC (rev 246213) @@ -0,0 +1,41 @@ +# $Id$ +# Maintainer: Felix Yan+# Maintainer: Antonio Rojas +# Contributor: Andrea Scarpino + +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} +}