[arch-commits] Commit in kdesdk-dev-scripts/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed Feb 4 08:23:11 UTC 2015
Date: Wednesday, February 4, 2015 @ 09:23:10
Author: fyan
Revision: 230670
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdesdk-dev-scripts/repos/testing-i686/
kdesdk-dev-scripts/repos/testing-i686/PKGBUILD
(from rev 230669, kdesdk-dev-scripts/trunk/PKGBUILD)
kdesdk-dev-scripts/repos/testing-x86_64/
kdesdk-dev-scripts/repos/testing-x86_64/PKGBUILD
(from rev 230669, kdesdk-dev-scripts/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Copied: kdesdk-dev-scripts/repos/testing-i686/PKGBUILD (from rev 230669, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-02-04 08:23:10 UTC (rev 230670)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=14.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=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('67f937f562ef860e4d010dac709b9692590f0b85')
+
+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/testing-x86_64/PKGBUILD (from rev 230669, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-02-04 08:23:10 UTC (rev 230670)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdesdk-dev-scripts
+pkgver=14.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=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdesdk')
+depends=('kdebase-runtime' 'python2')
+makedepends=('cmake' 'automoc4')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kde-dev-scripts-${pkgver}.tar.xz")
+sha1sums=('67f937f562ef860e4d010dac709b9692590f0b85')
+
+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