1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=qt5-quicktimeline
7 _commit=2da3c0efd5016bdba26b80789773238c2886fdf6
9 url='https://www.qt.io'
10 license=('GPL3' 'LGPL3' 'FDL' 'custom')
11 pkgdesc='Qt module for keyframe-based timeline construction'
12 depends=('qt5-declarative')
15 _pkgfqn=${pkgname/5-/}
16 source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
22 echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit`
38 make INSTALL_ROOT="$pkgdir" install
40 # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
41 find "$pkgdir/usr/lib" -type f -name '*.prl' \
42 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
44 install -d "$pkgdir"/usr/share/licenses
45 ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}