summaryrefslogtreecommitdiff
path: root/extra/rhino/PKGBUILD
blob: 27d7c46fcf7d4ae9f10c39caa17b220b2f6cd7a9 (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')
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
}