[arch-commits] Commit in qt5-canvas3d/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Mar 1 16:45:40 UTC 2018
Date: Thursday, March 1, 2018 @ 16:45:28
Author: arojas
Revision: 317709
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
qt5-canvas3d/repos/kde-unstable-x86_64/
qt5-canvas3d/repos/kde-unstable-x86_64/PKGBUILD
(from rev 317708, qt5-canvas3d/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: qt5-canvas3d/repos/kde-unstable-x86_64/PKGBUILD (from rev 317708, qt5-canvas3d/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2018-03-01 16:45:28 UTC (rev 317709)
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qt5-canvas3d
+_qtver=5.11.0-beta1
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=('x86_64')
+url='http://qt-project.org/'
+license=('GPL3' 'LGPL3' 'FDL' 'custom')
+pkgdesc='A JavaScript 3D rendering API for Qt Quick'
+depends=('qt5-declarative')
+makedepends=()
+groups=('qt' 'qt5')
+_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
+source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
+sha256sums=('bea4e7c7cf8a59bb4c4a1b804702ad03483d77c76c6bb3ca4f67aa4838b44cd6')
+
+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' {} \;
+
+ install -d "$pkgdir"/usr/share/licenses
+ ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list