mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
|
# $Id: PKGBUILD 39254 2009-05-14 11:17:01Z ronald $
|
||
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||
|
|
||
|
pkgname=qwt
|
||
|
pkgver=5.2.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Qt Widgets for Technical Applications"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://qwt.sourceforge.net/"
|
||
|
depends=('qt>=4.5.1')
|
||
|
options=('!makeflags')
|
||
|
license=("custom:$pkgname")
|
||
|
source=("http://downloads.sourceforge.net/sourceforge/qwt/$pkgname-$pkgver.tar.bz2" \
|
||
|
"qwtconfig-archlinux.pri")
|
||
|
md5sums=('c60b4cfac271a41524402b3ae5197890'
|
||
|
'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
|
||
|
|
||
|
# build qwt:
|
||
|
qmake qwt.pro
|
||
|
make || return 1
|
||
|
make INSTALL_ROOT=${pkgdir} QTDIR=/usr install || return 1
|
||
|
|
||
|
# fix doc files
|
||
|
install -d ${pkgdir}/usr/share/doc/${pkgname}
|
||
|
mv -f ${pkgdir}/usr/share/html/* ${pkgdir}/usr/share/doc/${pkgname}
|
||
|
|
||
|
# install licence
|
||
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYING \
|
||
|
${pkgdir}/usr/share/licenses/${pkgname}/license.txt
|
||
|
}
|