gobject-introspection: fix another bug

Install the tests files in /usr/share/gobject-introspection-1.0/tests
and not above in /usr/share/gobject-introspection-1.0.
This commit is contained in:
Jürgen Buchmüller 2020-03-25 02:20:19 +01:00
parent 05341ac107
commit d1c7b4354f

View file

@ -1,7 +1,7 @@
# Template file for 'gobject-introspection'
pkgname=gobject-introspection
version=1.64.0
revision=4
revision=5
build_style=meson
pycompile_dirs="usr/lib/${pkgname}/giscanner"
hostmakedepends="flex pkg-config"
@ -44,11 +44,11 @@ post_install() {
# For cross builds copy the not installed tests subdirectory
if [ "$CROSS_BUILD" ]; then
vmkdir usr/share/gobject-introspection-1.0
vmkdir usr/share/gobject-introspection-1.0/tests
for f in scanner/annotation.? scanner/drawable.? scanner/foo.? \
scanner/regress.? scanner/utility.? scanner/warnlib.? \
gimarshallingtests.? gitestmacros.h; do
vcopy tests/$f usr/share/gobject-introspection-1.0
vcopy tests/$f usr/share/gobject-introspection-1.0/tests
done
fi