[arch-commits] Commit in qt5-charts/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Dec 14 10:40:44 UTC 2016
Date: Wednesday, December 14, 2016 @ 10:40:43
Author: arojas
Revision: 283171
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
qt5-charts/repos/testing-i686/
qt5-charts/repos/testing-i686/PKGBUILD
(from rev 283170, qt5-charts/trunk/PKGBUILD)
qt5-charts/repos/testing-x86_64/
qt5-charts/repos/testing-x86_64/PKGBUILD
(from rev 283170, qt5-charts/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: qt5-charts/repos/testing-i686/PKGBUILD (from rev 283170, qt5-charts/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2016-12-14 10:40:43 UTC (rev 283171)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=qt5-charts
+_qtver=5.7.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3')
+pkgdesc='Provides a set of easy to use chart components'
+depends=('qt5-base')
+makedepends=('qt5-declarative')
+optdepends=('qt5-declarative: QML bindings')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
+md5sums=('05a6a003adf9102ecc86a5b3ca03fe6f')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ qmake ../${_pkgfqn}
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+ find "$pkgdir/usr/lib" -type f -name '*.prl' \
+ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+}
Copied: qt5-charts/repos/testing-x86_64/PKGBUILD (from rev 283170, qt5-charts/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-12-14 10:40:43 UTC (rev 283171)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=qt5-charts
+_qtver=5.7.1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://qt-project.org/'
+license=('GPL3')
+pkgdesc='Provides a set of easy to use chart components'
+depends=('qt5-base')
+makedepends=('qt5-declarative')
+optdepends=('qt5-declarative: QML bindings')
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-opensource-src-${_qtver}"
+source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
+md5sums=('05a6a003adf9102ecc86a5b3ca03fe6f')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+
+ qmake ../${_pkgfqn}
+ make
+}
+
+package() {
+ cd build
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+ find "$pkgdir/usr/lib" -type f -name '*.prl' \
+ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+}
More information about the arch-commits
mailing list