mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# $Id: PKGBUILD 8908 2008-08-17 00:04:17Z eric $
|
|
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=qwtplot3d
|
|
pkgver=0.2.7
|
|
origver=0.2.7
|
|
pkgrel=1
|
|
pkgdesc="Qt/OpenGL-based C++ programming library containing 3d-widgets"
|
|
arch=("i686" "x86_64")
|
|
license=('custom:zlib')
|
|
url="http://qwtplot3d.sourceforge.net/"
|
|
depends=('qt>=4.3' 'qwt>=5.0.2')
|
|
|
|
source=("http://downloads.sourceforge.net/sourceforge/qwtplot3d/qwtplot3d-$origver.tgz")
|
|
md5sums=('2f14660152e2e26bfeaaeec479ed9f2b')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname
|
|
# . /etc/profile.d/qt3.sh
|
|
# build qwt:
|
|
qmake qwtplot3d.pro
|
|
make || return 1
|
|
|
|
# install qwtplot3d: (by hand, because the Makefile do not provide a "install:")
|
|
mkdir -p $startdir/pkg/usr/{include/qwtplot3d,lib}
|
|
# mkdir -p $startdir/pkg/usr/man/man3 .. no manpages yet
|
|
|
|
for n in include/* ; do
|
|
cp -d $n $startdir/pkg/usr/include/qwtplot3d || return 1
|
|
done
|
|
|
|
for n in lib/libqwtplot3d.so* ; do
|
|
cp -d $n $startdir/pkg/usr/lib || return 1
|
|
done
|
|
|
|
# for n in doc/man/man3/*.3 ; do
|
|
# install -m 644 $n $startdir/pkg/usr/man/man3
|
|
# done
|
|
}
|
|
|