gsettings-qt: fix cross gsettings-qt.pc file
The pkgconfig file also contained a wrong, extra path component
This commit is contained in:
parent
510a1a2d1e
commit
ccedd46555
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'gsettings-qt'
|
||||
pkgname=gsettings-qt
|
||||
version=0.1+17.10.20170824
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake pkg-config qt5-declarative"
|
||||
makedepends="qt5-devel qt5-declarative-devel glib-devel"
|
||||
|
@ -28,6 +28,8 @@ post_install() {
|
|||
if [ "$CROSS_BUILD" ]; then
|
||||
rm -r ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/tests
|
||||
cp -a ${DESTDIR}/usr/${XBPS_CROSS_TRIPLET}/usr/* ${DESTDIR}/usr/
|
||||
vsed -i ${DESTDIR}/usr/lib/pkgconfig/gsettings-qt.pc \
|
||||
-e "s;${XBPS_CROSS_TRIPLET}\${prefix}/;;"
|
||||
else
|
||||
rm -r ${DESTDIR}/usr/tests
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue