summaryrefslogtreecommitdiffstats
path: root/abs/extra/rhino
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/rhino')
-rw-r--r--abs/extra/rhino/PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra/rhino/PKGBUILD b/abs/extra/rhino/PKGBUILD
new file mode 100644
index 0000000..27d7c46
--- /dev/null
+++ b/abs/extra/rhino/PKGBUILD
@@ -0,0 +1,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
+}