qt5: DESTDIR -> PKGDESTDIR.

This commit is contained in:
Juan RP 2015-02-25 08:04:37 +01:00
parent 2c8ba1918c
commit d0f933e616

View file

@ -1,7 +1,7 @@
# Template file for 'qt5'
pkgname=qt5
version=5.4.1
revision=1
revision=2
wrksrc="qt-everywhere-opensource-src-${version}"
homepage="http://qt-project.com/"
short_desc="A cross-platform application and UI framework (QT5)"
@ -112,7 +112,7 @@ qt5-declarative_package() {
rm ${PKGDESTDIR}/usr/lib/*.prl
vmkdir usr/bin
for f in ${PKGDESTDIR}/usr/lib/qt5/bin/*; do
ln -s /usr/lib/qt5/bin/$(basename $f) ${DESTDIR}/usr/bin/$(basename $f)-qt5
ln -s /usr/lib/qt5/bin/$(basename $f) ${PKGDESTDIR}/usr/bin/$(basename $f)-qt5
done
}
}
@ -228,7 +228,7 @@ qt5-quick1_package() {
rm ${PKGDESTDIR}/usr/lib/*.prl
vmkdir usr/bin
for f in ${PKGDESTDIR}/usr/lib/qt5/bin/*; do
ln -s /usr/lib/qt5/bin/$(basename $f) ${DESTDIR}/usr/bin/$(basename $f)-qt5
ln -s /usr/lib/qt5/bin/$(basename $f) ${PKGDESTDIR}/usr/bin/$(basename $f)-qt5
done
}
}
@ -495,7 +495,7 @@ qt5-xmlpatterns_package() {
rm ${PKGDESTDIR}/usr/lib/*.prl
vmkdir usr/bin
for f in ${PKGDESTDIR}/usr/lib/qt5/bin/*; do
ln -s /usr/lib/qt5/bin/$(basename $f) ${DESTDIR}/usr/bin/$(basename $f)-qt5
ln -s /usr/lib/qt5/bin/$(basename $f) ${PKGDESTDIR}/usr/bin/$(basename $f)-qt5
done
}
}
@ -552,7 +552,7 @@ qt5-tools_package() {
install -m644 ${FILESDIR}/*.desktop ${PKGDESTDIR}/usr/share/applications
vmkdir usr/bin
for f in ${PKGDESTDIR}/usr/lib/qt5/bin/*; do
ln -s /usr/lib/qt5/bin/$(basename $f) ${DESTDIR}/usr/bin/$(basename $f)-qt5
ln -s /usr/lib/qt5/bin/$(basename $f) ${PKGDESTDIR}/usr/bin/$(basename $f)-qt5
done
}
}