qt5: clean $wrksrc leak on cross

This commit is contained in:
Đoàn Trần Công Danh 2021-02-07 22:56:19 +07:00
parent 596a2da188
commit 44a7f507e5
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'qt5'
pkgname=qt5
version=5.15.2
revision=1
revision=2
wrksrc="qt-everywhere-src-${version}"
build_style=meta
hostmakedepends="cmake clang flex perl glib-devel pkg-config
@ -314,6 +314,7 @@ do_install() {
make -f Makefile.target ${makejobs}
ln -sf ../lib/qt5/bin/qmake ${PKGDESTDIR}/usr/bin/qmake-qt5
cp -ar ${wrksrc}/qtbase/mkspecs ${PKGDESTDIR}/usr/lib/qt5
_cleanup_wrksrc_leak
#
# Build qmldevtools for the target