summaryrefslogtreecommitdiff
path: root/extra/rhino/PKGBUILD
blob: 3badb3c40f148e4fd29fed3d76b12680fb862afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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' 'mips64el')
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
}