[arch-commits] Commit in qwt/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Thu Oct 7 10:54:24 UTC 2010
Date: Thursday, October 7, 2010 @ 06:54:24
Author: ronald
Revision: 94465
upgpkg: qwt 5.2.1-1
bump to latest version
Modified:
qwt/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-07 10:46:35 UTC (rev 94464)
+++ PKGBUILD 2010-10-07 10:54:24 UTC (rev 94465)
@@ -2,8 +2,8 @@
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=qwt
-pkgver=5.2.0
-pkgrel=2
+pkgver=5.2.1
+pkgrel=1
pkgdesc="Qt Widgets for Technical Applications"
arch=('i686' 'x86_64')
url="http://qwt.sourceforge.net/"
@@ -12,21 +12,26 @@
license=("custom:$pkgname")
source=("http://downloads.sourceforge.net/sourceforge/qwt/$pkgname-$pkgver.tar.bz2" \
"qwtconfig-archlinux.pri")
-md5sums=('c60b4cfac271a41524402b3ae5197890'
+md5sums=('4a595b8db0ec3856b117836c1d60cb27'
'2cb9135ec875d6de0214fcb032f184a3')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# copy our config file to the right place
- cp -f ${srcdir}/qwtconfig-archlinux.pri \
- ${srcdir}/${pkgname}-${pkgver}/qwtconfig.pri || return 1
+ install -Dm644 ${srcdir}/qwtconfig-archlinux.pri \
+ ${srcdir}/${pkgname}-${pkgver}/qwtconfig.pri
# build qwt:
qmake qwt.pro
make || return 1
- make INSTALL_ROOT=${pkgdir} QTDIR=/usr install || return 1
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ make INSTALL_ROOT=${pkgdir} QTDIR=/usr install
+
# fix doc files
install -d ${pkgdir}/usr/share/doc/${pkgname}
mv -f ${pkgdir}/usr/share/html/* ${pkgdir}/usr/share/doc/${pkgname}
More information about the arch-commits
mailing list