Date: Thursday, December 7, 2017 @ 11:27:56 Author: arojas Revision: 311736
archrelease: copy trunk to staging-x86_64 Added: qt5-graphicaleffects/repos/staging-x86_64/ qt5-graphicaleffects/repos/staging-x86_64/PKGBUILD (from rev 311735, qt5-graphicaleffects/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: qt5-graphicaleffects/repos/staging-x86_64/PKGBUILD (from rev 311735, qt5-graphicaleffects/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-12-07 11:27:56 UTC (rev 311736) @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 240297 2015-06-03 10:22:03Z fyan $ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-graphicaleffects +_qtver=5.10.0 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('x86_64') +url='http://qt-project.org/' +license=('GPL3' 'LGPL3' 'FDL' 'custom') +pkgdesc='Graphical effects for use with Qt Quick 2' +depends=('qt5-declarative') +makedepends=() +groups=('qt' 'qt5') +_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}" +source=("http://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('97b969112f21161fc924c1b1c98f1dad2bf7027e31b27ea9eec532db7b045e30') + +prepare() { + mkdir -p build +} + +build() { + cd build + + qmake ../${_pkgfqn} + make +} + +package() { + cd build + make INSTALL_ROOT="$pkgdir" install + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname} +}