1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=qt5-quicktimeline
7 _commit=dd5d4af65890baad8baa85a445a752a877a4f7e3
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)
21 echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` | sed -e 's|+kde+r0||'
37 make INSTALL_ROOT="$pkgdir" install
39 # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
40 find "$pkgdir/usr/lib" -type f -name '*.prl' \
41 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
43 install -d "$pkgdir"/usr/share/licenses
44 ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}