author | Florian Pritz
<bluewind@archlinux.org> 2014-12-05 17:20:12 UTC |
committer | Florian Pritz
<bluewind@archlinux.org> 2014-12-05 17:20:12 UTC |
parent | e96957509817ae368f77d89ff299ac3be78c66c5 |
PKGBUILD | +44 | -0 |
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..cebc371 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Florian Pritz <bluewind@xinu.at> +# Contributor: Christian Hesse <mail@eworm.de> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: mickele +# Contributor: marcus fritzsch <fritschy@googlemail.com> + +pkgname=soqt +pkgver=1.5.0 +pkgrel=7 +pkgdesc='A library which provides the glue between Coin and Qt' +arch=('i686' 'x86_64') +url='http://www.coin3d.org/lib/soqt/' +license=('GPL') +depends=('coin' 'qt4') +makedepends=('doxygen') +source=("https://bitbucket.org/Coin3D/coin/downloads/SoQt-${pkgver}.tar.gz") +sha256sums=('f6a34b4c19e536c00f21aead298cdd274a7a0b03a31826fbe38fc96f3d82ab91') + +build() { + cd "${srcdir}/SoQt-${pkgver}/" + + # fix prefix in soqt-config + sed -i '/^prefix/c prefix="/usr/"' src/Inventor/Qt/common/sogui-config.in + + ./configure --prefix=/usr \ + --enable-optimization \ + --enable-man \ + --enable-exceptions \ + --disable-debug \ + --disable-maintainer-mode \ + --disable-dependency-tracking \ + --enable-shared \ + --disable-static \ + --with-qt=/usr + + make +} + +package() { + cd "${srcdir}/SoQt-${pkgver}/" + + make DESTDIR=${pkgdir} install +} +