# Maintainer: Andreas Radke <andyrtr@archlinux.org> # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=rhino pkgver=1.7R1 pkgrel=1 pkgdesc="Open-source implementation of JavaScript written entirely in Java" arch=('i686' 'x86_64') url="http://www.mozilla.org/rhino/" license=('MPL' 'GPL2') source=(ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R1.zip) md5sums=('613eed8201d37be201805e5048ebb0c3') build() { cd ${srcdir}/rhino1_7R1 install -m755 -d ${pkgdir}/usr/share/java install -m644 js.jar ${pkgdir}/usr/share/java/ || return 1 }