summaryrefslogtreecommitdiff
path: root/community/coin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/coin/PKGBUILD')
-rw-r--r--community/coin/PKGBUILD54
1 files changed, 54 insertions, 0 deletions
diff --git a/community/coin/PKGBUILD b/community/coin/PKGBUILD
new file mode 100644
index 000000000..f88ee170b
--- /dev/null
+++ b/community/coin/PKGBUILD
@@ -0,0 +1,54 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: mickele
+# Contributor: marcus fritzsch <fritschy@googlemail.com>
+
+pkgname=coin
+pkgver=3.1.3
+pkgrel=3
+pkgdesc='Coin3D is a high-level 3D graphics toolkit on top of OpenGL.'
+url='http://www.coin3d.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('mesa' 'expat')
+makedepends=('doxygen')
+optdepends=('openal: sound/dynamic linking support'
+ 'fontconfig: dynamic linking support'
+ 'zlib: dynamic linking support'
+ 'freetype2: dynamic linking support'
+ 'spidermonkey: dynamic linking support')
+options=('!libtool')
+source=("http://ftp.coin3d.org/coin/src/all/Coin-${pkgver}.tar.gz")
+md5sums=('1538682f8d92cdf03e845c786879fbea')
+
+build() {
+ cd Coin-${pkgver}
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-optimization \
+ --enable-3ds-import \
+ --enable-javascript-api \
+ --enable-threadsafe \
+ --enable-exceptions \
+ --enable-man \
+ --with-mesa \
+ --disable-debug \
+ --enable-shared \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --enable-system-expat
+
+ make
+}
+
+package() {
+ cd Coin-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # final adjustments
+ for _FILE in threads deprecated ; do
+ mv "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3"
+ done
+}