diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2019-02-17 21:36:18 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2019-02-17 21:36:56 +0100 |
commit | 6ee3af1e08d2162b1f37aae8696edcd67e82eef4 (patch) | |
tree | 71aee0b7c95f123f5d2f76392594b27ec4fb17a3 /libre/java-commons-bsf2 | |
parent | 899720af06aeb284bc349177138c0aa367bc85c2 (diff) | |
download | abslibre-6ee3af1e08d2162b1f37aae8696edcd67e82eef4.tar.gz abslibre-6ee3af1e08d2162b1f37aae8696edcd67e82eef4.tar.bz2 abslibre-6ee3af1e08d2162b1f37aae8696edcd67e82eef4.zip |
libre/java-commons-bsf2: removed. no longer needed
Diffstat (limited to 'libre/java-commons-bsf2')
-rw-r--r-- | libre/java-commons-bsf2/PKGBUILD | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/libre/java-commons-bsf2/PKGBUILD b/libre/java-commons-bsf2/PKGBUILD deleted file mode 100644 index 2f00b024b..000000000 --- a/libre/java-commons-bsf2/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> -# Rationale: Build dependency of apache-ant - -pkgname=java-commons-bsf2 -pkgver=2.4.0 -url="https://commons.apache.org/proper/commons-bsf/" -license=('Apache') -pkgdesc="Bean Scripting Framework" - -pkgrel=1.1 -arch=('any') -depends=('java-commons-logging') -makedepends=('apache-ant') - -_mirror=http://archive.apache.org/dist -source=($_mirror/commons/bsf/source/bsf-src-$pkgver.tar.gz - build-properties.xml::"https://svn.apache.org/viewvc/commons/proper/bsf/tags/bsf-2.4.0/build-properties.xml?view=co&content-type=text%2Fplain" -) - -declare -A _opts -#_opts[jacl]="/usr/share/java/jacl.jar" -_opts[jython]="/opt/jython/jython.jar" -#_opts[nexrexx]="/usr/share/java/nexrexx.jar" -_opts[java-rhino]="/usr/share/java/js.jar" -_opts[xalan-java]="/usr/share/java/xalan.jar" -_opts[junit]="/usr/share/java/junit.jar" - -optdepends+=("${!_opts[@]}") -makedepends+=("${!_opts[@]}") - -prepare() { - cd "${srcdir}/bsf-${pkgver}" - rm lib/*.jar -} - -build() { - cd "${srcdir}/bsf-${pkgver}" - - local jar - for jar in "${_opts[@]}"; do - ln -s "$jar" lib/ - done - - # Adjust it to work with jython 2.5+ - sed -i 's/PyJavaInstance/PyJavaType/g' src/org/apache/bsf/engines/jython/* - - ln -sf ../build-properties.xml ./ - ant jar -} - -package() { - cd "${srcdir}/bsf-${pkgver}" - install -Dm644 build/lib/bsf.jar "$pkgdir"/usr/share/java/bsf-$pkgver.jar - ln -s bsf-$pkgver.jar "$pkgdir"/usr/share/java/bsf2.jar -} - -md5sums=('7e58b2a009c0f70ab36bbef420b25c07' - 'd7180c2b95f1a5424f785a2482260eaa') |