1 # Maintainer: AndyRTR <andyrtr at archlinux.org>
6 pkgdesc="Small, free, embeddable, source level Java interpreter with object based scripting language features written in Java"
8 url="https://github.com/beanshell/beanshell"
10 depends=('java-runtime')
12 replaces=('beanshell2')
13 conflicts=('beanshell2')
14 source=("https://github.com/beanshell/beanshell/releases/download/$pkgver/bsh-${pkgver}.jar")
15 noextract=("${pkgname}-${pkgver}.jar")
16 sha512sums=('f29ec0b382e8648b9f7506cc976ac533d82a941986e0beab3464cd1659334d8f8369c139124591ba45306dc8c0eb7090bd915ece364cdd476dd929fde3da2c34')
18 # beanshell2 fork is dead
19 # http://stackoverflow.com/questions/26549307/current-state-of-beanshell
20 # https://github.com/stain/beanshell2 - google code got removed and only this fork is left and outdated
21 # original url http://www.beanshell.org - unmaintained
23 # Fedora and our only package making use of it use the follow up of the old beanshell:
24 # https://github.com/beanshell/beanshell
27 install -m755 -d "${pkgdir}"/usr/share/java/
28 install -D -m644 "${srcdir}"/bsh-${pkgver}.jar "${pkgdir}"/usr/share/java/bsh.jar