summaryrefslogtreecommitdiff
path: root/community/freewrl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/freewrl/PKGBUILD')
-rw-r--r--community/freewrl/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/freewrl/PKGBUILD b/community/freewrl/PKGBUILD
new file mode 100644
index 000000000..dbf9e06ec
--- /dev/null
+++ b/community/freewrl/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 41793 2011-03-08 22:30:52Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=freewrl
+pkgver=1.22.10
+pkgrel=3
+pkgdesc="VRML viewer"
+arch=('i686' 'x86_64')
+url="http://freewrl.sourceforge.net/"
+license=('GPL')
+depends=('java-runtime' 'libxaw' 'glew' 'freeglut' 'xulrunner' 'curl' 'freetype2'
+ 'imlib2' 'sox' 'unzip' 'imagemagick' 'libxml2' 'ttf-bitstream-vera' 'lesstif')
+makedepends=('java-environment' 'xulrunner')
+options=(!libtool)
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+ build-fix.patch)
+md5sums=('07fd8f193d14799ffb95a59a4887fc88'
+ '1586b3ea98dd8c5c9f5ebfc3dd176232')
+
+build() {
+ . /etc/profile.d/openjdk6.sh
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 <$srcdir/build-fix.patch
+ ./configure \
+ --prefix=/usr --with-fontsdir=/usr/share/fonts/TTF --enable-libeai \
+ --enable-libcurl --with-expat=/usr --with-target=motif
+ make
+ make DESTDIR=$pkgdir install
+}