Date: Wednesday, December 5, 2018 @ 13:08:43 Author: arojas Revision: 341034
archrelease: copy trunk to staging-x86_64 Added: qt5-datavis3d/repos/staging-x86_64/ qt5-datavis3d/repos/staging-x86_64/PKGBUILD (from rev 341033, qt5-datavis3d/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: qt5-datavis3d/repos/staging-x86_64/PKGBUILD (from rev 341033, qt5-datavis3d/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-12-05 13:08:43 UTC (rev 341034) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=qt5-datavis3d +_qtver=5.12.0 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('x86_64') +url='http://qt-project.org/' +license=('GPL3') +pkgdesc='Qt Data Visualization module' +depends=('qt5-base') +makedepends=('qt5-declarative') +optdepends=('qt5-declarative: QML bindings') +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('4eda7e352b5d7d58a19611f76a906e952f6a86451740a80a3759b8871090f433') + +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' {} \; +}