mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
876 B
Bash
26 lines
876 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=freewrl
|
|
pkgver=1.22.3
|
|
pkgrel=1
|
|
pkgdesc="VRML viewer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://freewrl.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('java-runtime' 'libx11' 'libjpeg' 'libpng' 'expat' 'mesa' 'lesstif' 'libxaw')
|
|
makedepends=('java-environment' 'perl' 'patch' 'xulrunner')
|
|
source=(http://easynews.dl.sf.net/sourceforge/freewrl/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('c21d85aa20b2d45453f83df532e769e4')
|
|
|
|
build() {
|
|
. /etc/profile.d/openjdk6.sh
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
sed -i 's#| JSPROP_EXPORTED##' src/lib/world_script/jsUtils.c
|
|
sed -i 's#DOUBLE_TO_JSVAL(0.0)#DOUBLE_TO_JSVAL(0)#' src/lib/world_script/jsVRML_MFClasses.c
|
|
|
|
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
}
|