summaryrefslogtreecommitdiff
path: root/extra/qt-assistant-compat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qt-assistant-compat/PKGBUILD')
-rw-r--r--extra/qt-assistant-compat/PKGBUILD16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/qt-assistant-compat/PKGBUILD b/extra/qt-assistant-compat/PKGBUILD
index 8c8d6859a..a189b314b 100644
--- a/extra/qt-assistant-compat/PKGBUILD
+++ b/extra/qt-assistant-compat/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 178985 2013-03-01 10:24:14Z andrea $
+# $Id: PKGBUILD 179069 2013-03-02 22:41:59Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=qt-assistant-compat
pkgver=4.6.3
-pkgrel=3
+pkgrel=4
pkgdesc="compat version of Qt Assistant"
url="http://qt-project.org/"
arch=('i686' 'x86_64')
@@ -16,8 +16,6 @@ md5sums=('a20148e0488d5c12ab35ccc107dcc64d'
# separate package function does not really work here due to broken build files
build() {
- . /etc/profile.d/qt4.sh
-
cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
patch -Np1 -i ${srcdir}/debian_patches_01_build_system.diff
@@ -25,11 +23,11 @@ build() {
cd lib; if [ -e Makefile ]; then $(MAKE) distclean; fi
rm -f translations/assistant_adp_*.qm
- qmake CONFIG+=create_prl
+ qmake-qt4 CONFIG+=create_prl
make
cd ../translations; lrelease assistant_adp_*.ts
cd ..
- qmake CONFIG+=create_prl
+ qmake-qt4 CONFIG+=create_prl
make
}
@@ -46,11 +44,11 @@ package() {
${pkgdir}/usr/lib/libQtAssistantClient.prl
# Install translations
- install -d ${pkgdir}/usr/share/qt/translations/
+ install -d ${pkgdir}/usr/share/qt4/translations/
install -p -m0644 translations/assistant_adp_*.qm \
- ${pkgdir}/usr/share/qt/translations/
+ ${pkgdir}/usr/share/qt4/translations/
# Install prf file
install -D -p -m0644 features/assistant.prf \
- ${pkgdir}/usr/share/qt/mkspecs/features/assistant.prf
+ ${pkgdir}/usr/share/qt4/mkspecs/features/assistant.prf
}