[arch-commits] Commit in ki18n/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Apr 13 20:35:46 UTC 2017
Date: Thursday, April 13, 2017 @ 20:35:46
Author: felixonmars
Revision: 292728
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ki18n/repos/testing-i686/
ki18n/repos/testing-i686/PKGBUILD
(from rev 292727, ki18n/trunk/PKGBUILD)
ki18n/repos/testing-x86_64/
ki18n/repos/testing-x86_64/PKGBUILD
(from rev 292727, ki18n/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: ki18n/repos/testing-i686/PKGBUILD (from rev 292727, ki18n/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-04-13 20:35:46 UTC (rev 292728)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ki18n
+pkgver=5.33.0
+pkgrel=1
+pkgdesc='Advanced internationalization framework'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('qt5-script')
+makedepends=('extra-cmake-modules' 'python' 'qt5-declarative' 'python-pyqt5' 'python2-pyqt5' 'clang')
+optdepends=('python-pykf5: to use the Python 3 bindings' 'python2-pykf5: to use the Python 2 bindings')
+groups=('kf5')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('611a12938ede750ee649c030fb8e248198b491747728e3a2b01671bb074eae0b'
+ 'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+ mkdir -p build
+
+# Disabled, it doesn't build as of 5.33.0
+ sed -i 's/if (PythonModuleGeneration_FOUND)/if (FALSE)/' ${pkgname}-${pkgver}/src/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: ki18n/repos/testing-x86_64/PKGBUILD (from rev 292727, ki18n/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-04-13 20:35:46 UTC (rev 292728)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=ki18n
+pkgver=5.33.0
+pkgrel=1
+pkgdesc='Advanced internationalization framework'
+arch=('i686' 'x86_64')
+url='https://community.kde.org/Frameworks'
+license=('LGPL')
+depends=('qt5-script')
+makedepends=('extra-cmake-modules' 'python' 'qt5-declarative' 'python-pyqt5' 'python2-pyqt5' 'clang')
+optdepends=('python-pykf5: to use the Python 3 bindings' 'python2-pykf5: to use the Python 2 bindings')
+groups=('kf5')
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha256sums=('611a12938ede750ee649c030fb8e248198b491747728e3a2b01671bb074eae0b'
+ 'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+ mkdir -p build
+
+# Disabled, it doesn't build as of 5.33.0
+ sed -i 's/if (PythonModuleGeneration_FOUND)/if (FALSE)/' ${pkgname}-${pkgver}/src/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list