blob: b42e5e6dd83a389d2eb32a9b5f01642eaa5eca04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Erich Eckner <arch at eckner dot net>
# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org>
# Contributor: Eugen Zagorodniy <https://github.com/ezag>
# Contributor: Ronald van Haren <ronald at archlinux dot org>
# Contributor: Nick Østergaard <oe.nick at gmail dot com>
pkgname=qwt5
_pkgname=qwt
pkgver=5.2.3
pkgrel=151
pkgdesc="Qt Widgets for Technical Applications (version 5.X)"
arch=('i686' 'pentium4' 'x86_64')
url="http://qwt.sourceforge.net/"
_pinned_dependencies=(
'gcc-libs=11.2.0'
'glibc>=2.31'
'libQtCore.so=4'
'libQtDesigner.so=4'
'libQtGui.so=4'
'libQtSvg.so=4'
)
depends=("${_pinned_dependencies[@]}")
license=("custom")
source=("https://sourceforge.net/projects/${_pkgname}/files/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.tar.bz2" \
"qwtconfig-archlinux.pri")
sha512sums=('60545712790699b145a54baba4c40802d9a58bf5f68f997faed5027db6773a801097be8675e00b2af1de568e36e2e498db0a0310ac4877fd9f2b52871409dd49'
'a019108fb6af33a465c419a3af21f82673112e5edc12624a390439a97c95edcf18f8ea08b4a5b1340b50be5d5315e41b6188105768d4689602f29d88274749a4')
prepare() {
# copy our config file to the right place
install -Dm644 "qwtconfig-archlinux.pri" "qwt-${pkgver}/qwtconfig.pri"
}
build() {
cd "${srcdir}/qwt-${pkgver}"
qmake-qt4 qwt.pro
make
}
package() {
cd "${srcdir}/qwt-${pkgver}"
make INSTALL_ROOT="${pkgdir}" QTDIR=/usr install
# install licence
install -Dm644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# remove docs
rm -r "${pkgdir}/usr/share/html"
rm -r "${pkgdir}/usr/share/man/"
}
|