updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / soqt-hg / PKGBUILD
blob41ba09b4e099a3aabc08485ac71523b0dff4d59b
1 pkgname=soqt-hg
2 pkgver=20100809
3 pkgrel=2
4 pkgdesc="SoQt is a library which provides the glue between Coin and Qt. Provides of SoQT and SoQT-Doc"
5 arch=('i686' 'x86_64')
6 url="http://www.coin3d.org/lib/soqt/"
7 license="GPL"
8 depends=('coin' 'qt' 'libxmu')
9 makedepends=('gcc' 'doxygen' 'coin')
10 provides=('soqt' 'soqt-doc')
11 conflicts=('soqt' 'soqt-doc')
12 replaces=()
13 backup=()
14 options=('!makeflags')
15 install=
17 _soqtrev=bb2d3916586f
18 _soguirev=239bd7ae533d
19 _soanydatarev=fba431fe9560
21 source=("http://hg.sim.no/SoQt/default/archive/${_soqtrev}.tar.bz2" \
22         "http://hg.sim.no/SoGUI/default/archive/${_soguirev}.tar.bz2" \
23         "http://hg.sim.no/SoAnyData/default/archive/${_soanydatarev}.tar.bz2")
25 md5sums=('32a722141d4e50d1cfafe675d5c2cc38'
26          '5e6c73f965c8f53403ccdfc6ae3f3253'
27          '5f8f5869de97eedf3f814bdc895d2676')
30 build() {
31   cd ${srcdir}/default-${_soqtrev}
32   cp -r ${srcdir}/default-${_soguirev} src/Inventor/Qt/common
33   cp -r ${srcdir}/default-${_soanydatarev} data
35   cd build
36   ../configure --prefix=/usr --enable-optimization \
37     --enable-threadsafe --enable-html --enable-man --enable-exceptions \
38     --disable-debug --disable-maintainer-mode --disable-dependency-tracking \
39     --enable-shared --disable-static --with-qt=/usr
41   make DESTDIR=${pkgdir} install || return 1
42   #rm -f ${pkgdir}/usr/lib/libSoQt.la