summaryrefslogtreecommitdiff
path: root/extra/qwt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qwt/PKGBUILD')
-rw-r--r--extra/qwt/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/extra/qwt/PKGBUILD b/extra/qwt/PKGBUILD
index 1b53233e4..2d653e600 100644
--- a/extra/qwt/PKGBUILD
+++ b/extra/qwt/PKGBUILD
@@ -1,13 +1,13 @@
-# $Id: PKGBUILD 171291 2012-11-17 00:59:56Z allan $
+# $Id: PKGBUILD 178991 2013-03-01 10:24:47Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=qwt
pkgver=6.0.1
-pkgrel=3
+pkgrel=4
pkgdesc="Qt Widgets for Technical Applications"
arch=('i686' 'x86_64')
url="http://qwt.sourceforge.net/"
-depends=('qt')
+depends=('qt4')
options=('!makeflags')
license=("custom:$pkgname")
source=("http://downloads.sourceforge.net/sourceforge/qwt/$pkgname-$pkgver.tar.bz2" \
@@ -16,6 +16,8 @@ sha1sums=('301cca0c49c7efc14363b42e082b09056178973e'
'aba0fc75f6d450237028b7b143bdcf05a79cabb3')
build() {
+ . /etc/profile.d/qt4.sh
+
cd ${srcdir}/${pkgname}-${pkgver}
# copy our config file to the right place
@@ -33,9 +35,9 @@ package() {
make INSTALL_ROOT=${pkgdir} QTDIR=/usr install
# install web designer plugin
- install -d ${pkgdir}/usr/lib/qt/plugins/designer/
+ install -d ${pkgdir}/usr/lib/qt4/plugins/designer/
install -Dm755 designer/plugins/designer/libqwt_designer_plugin.so \
- ${pkgdir}/usr/lib/qt/plugins/designer/
+ ${pkgdir}/usr/lib/qt4/plugins/designer/
# Move man files to proper directory.
# install -d ${pkgdir}/usr/share/man/man3