Date: Tuesday, May 26, 2020 @ 08:44:15 Author: arojas Revision: 387558
archrelease: copy trunk to staging-x86_64 Added: qt5-graphicaleffects/repos/staging-x86_64/ qt5-graphicaleffects/repos/staging-x86_64/PKGBUILD (from rev 387557, qt5-graphicaleffects/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: qt5-graphicaleffects/repos/staging-x86_64/PKGBUILD (from rev 387557, qt5-graphicaleffects/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-05-26 08:44:15 UTC (rev 387558) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=qt5-graphicaleffects +_qtver=5.15.0 +pkgver=${_qtver/-/} +pkgrel=1 +arch=('x86_64') +url='https://www.qt.io' +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=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz") +sha256sums=('0d2ea4bc73b9df13a4b739dcbc1e3c7b298c7e682f7f9252b232e3bde7b63eda') + +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} +}