[arch-commits] Commit in kdesdk-dev-scripts/repos (4 files)
Felix Yan
fyan at archlinux.org
Fri Jan 16 06:49:58 UTC 2015
Date: Friday, January 16, 2015 @ 07:49:58
Author: fyan
Revision: 229307
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 229306, kdesdk-dev-scripts/trunk/PKGBUILD)
kdesdk-dev-scripts/repos/testing-x86_64/
kdesdk-dev-scripts/repos/testing-x86_64/PKGBUILD
(from rev 229306, 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 229306, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-01-16 06:49:58 UTC (rev 229307)
@@ -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.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=('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=('611ef3029dff1af158ea6da98537eeb8990fe606')
+
+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 229306, kdesdk-dev-scripts/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-16 06:49:58 UTC (rev 229307)
@@ -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.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=('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=('611ef3029dff1af158ea6da98537eeb8990fe606')
+
+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