31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
|
# Maintainer: AndyRTR <andyrtr at archlinux.org>
|
|
|
|
pkgname=beanshell
|
|
pkgver=2.1.1
|
|
pkgrel=2.1
|
|
pkgdesc="Small, free, embeddable, source level Java interpreter with object based scripting language features written in Java"
|
|
arch=(any)
|
|
url="https://github.com/beanshell/beanshell"
|
|
license=('Apache-2.0')
|
|
depends=('java-runtime')
|
|
provides=('bsh')
|
|
replaces=('beanshell2')
|
|
conflicts=('beanshell2')
|
|
source=("https://github.com/beanshell/beanshell/releases/download/$pkgver/bsh-${pkgver}.jar")
|
|
noextract=("${pkgname}-${pkgver}.jar")
|
|
sha512sums=('73723d4bd834e1c9564f964e0008b2110dceb8dee2874eab4529fda1d8e20572f1198eedec235a08ad39c395c3737e8f5b7517077c3604d644506f883f0a3919')
|
|
|
|
# beanshell2 fork is dead
|
|
# http://stackoverflow.com/questions/26549307/current-state-of-beanshell
|
|
# https://github.com/stain/beanshell2 - google code got removed and only this fork is left and outdated
|
|
# original url http://www.beanshell.org - unmaintained
|
|
|
|
# Fedora and our only package making use of it use the follow up of the old beanshell:
|
|
# https://github.com/beanshell/beanshell
|
|
|
|
package() {
|
|
install -m755 -d "${pkgdir}"/usr/share/java/
|
|
install -D -m644 "${srcdir}"/bsh-${pkgver}.jar "${pkgdir}"/usr/share/java/bsh.jar
|
|
}
|