summaryrefslogtreecommitdiff
path: root/extra/qwt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/qwt/PKGBUILD')
-rw-r--r--extra/qwt/PKGBUILD23
1 files changed, 10 insertions, 13 deletions
diff --git a/extra/qwt/PKGBUILD b/extra/qwt/PKGBUILD
index 2d653e600..1fe4ae2c7 100644
--- a/extra/qwt/PKGBUILD
+++ b/extra/qwt/PKGBUILD
@@ -1,31 +1,27 @@
-# $Id: PKGBUILD 178991 2013-03-01 10:24:47Z andrea $
+# $Id: PKGBUILD 179060 2013-03-02 20:03:20Z andrea $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=qwt
pkgver=6.0.1
-pkgrel=4
+pkgrel=5
pkgdesc="Qt Widgets for Technical Applications"
arch=('i686' 'x86_64')
url="http://qwt.sourceforge.net/"
depends=('qt4')
-options=('!makeflags')
license=("custom:$pkgname")
-source=("http://downloads.sourceforge.net/sourceforge/qwt/$pkgname-$pkgver.tar.bz2" \
+source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.bz2" \
"qwtconfig-archlinux.pri")
sha1sums=('301cca0c49c7efc14363b42e082b09056178973e'
'aba0fc75f6d450237028b7b143bdcf05a79cabb3')
build() {
- . /etc/profile.d/qt4.sh
-
cd ${srcdir}/${pkgname}-${pkgver}
# copy our config file to the right place
- install -Dm644 ${srcdir}/qwtconfig-archlinux.pri \
- ${srcdir}/${pkgname}-${pkgver}/qwtconfig.pri
+ cp ${srcdir}/qwtconfig-archlinux.pri qwtconfig.pri
# build qwt:
- qmake qwt.pro
+ qmake-qt4 qwt.pro
make
}
@@ -39,11 +35,12 @@ package() {
install -Dm755 designer/plugins/designer/libqwt_designer_plugin.so \
${pkgdir}/usr/lib/qt4/plugins/designer/
- # Move man files to proper directory.
-# install -d ${pkgdir}/usr/share/man/man3
-# mv -f ${pkgdir}/usr/share/doc/qwt/man/man3/* ${pkgdir}/usr/share/man/man3
+ # needed by qmake (FS#30407)
+ install -d "${pkgdir}"/usr/share/qt4/mkspecs/features/
+ install -m644 qwtconfig.pri qwt.prf \
+ "${pkgdir}"/usr/share/qt4/mkspecs/features/
# install licence
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYING \
- ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}