[arch-commits] Commit in kdesdk-dev-scripts/repos (4 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Mar 8 08:50:42 UTC 2014
Date: Saturday, March 8, 2014 @ 09:50:42
Author: andrea
Revision: 207302
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdesdk-dev-scripts/repos/kde-unstable-i686/
kdesdk-dev-scripts/repos/kde-unstable-i686/PKGBUILD
(from rev 207301, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
kdesdk-dev-scripts/repos/kde-unstable-x86_64/
kdesdk-dev-scripts/repos/kde-unstable-x86_64/PKGBUILD
(from rev 207301, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
------------------------------+
kde-unstable-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
kde-unstable-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: kdesdk-dev-scripts/repos/kde-unstable-i686/PKGBUILD (from rev 207301, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2014-03-08 08:50:42 UTC (rev 207302)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.12.80
+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=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/unstable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('4b41587980b82233c67fda35870f5e113631dea2')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kde-dev-scripts-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -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,kde-systemsettings-tree}.py
+ sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|' \
+ "${pkgdir}"/usr/bin/{kdelnk2desktop.py,kde_generate_export_header}
+}
Copied: kdesdk-dev-scripts/repos/kde-unstable-x86_64/PKGBUILD (from rev 207301, kdesdk-dev-scripts/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2014-03-08 08:50:42 UTC (rev 207302)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=4.12.80
+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=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/unstable/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('4b41587980b82233c67fda35870f5e113631dea2')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kde-dev-scripts-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -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,kde-systemsettings-tree}.py
+ 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