summaryrefslogtreecommitdiff
path: root/libre/rhino
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-10-23 13:52:48 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-10-23 13:52:48 -0500
commitb679a0e5c7ee257bfef786785f2cd90dad45f117 (patch)
tree470ae21a7a1733d057edc6e946e78af8bd3a5533 /libre/rhino
parent26d61cc1f977b4dfee7a2aff6c5aaa6d725fe3fb (diff)
downloadabslibre-b679a0e5c7ee257bfef786785f2cd90dad45f117.tar.gz
abslibre-b679a0e5c7ee257bfef786785f2cd90dad45f117.tar.bz2
abslibre-b679a0e5c7ee257bfef786785f2cd90dad45f117.zip
rhino-1.7.7.2-1.par1: updating version
Diffstat (limited to 'libre/rhino')
-rw-r--r--libre/rhino/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/libre/rhino/PKGBUILD b/libre/rhino/PKGBUILD
index 9e5fd2e4a..b70f48754 100644
--- a/libre/rhino/PKGBUILD
+++ b/libre/rhino/PKGBUILD
@@ -2,24 +2,25 @@
pkgbase=rhino
pkgname=('java-rhino' 'rhino-javadoc')
-pkgver=1.7.7.1
+pkgver=1.7.7.2
_pkgver=${pkgver//\./_}
-pkgrel=1.parabola1
+pkgrel=1
+pkgrel+=.par1
arch=('any')
url="http://www.mozilla.org/rhino/"
license=('MPL')
makedepends=('apache-ant' 'jh')
-source=(https://github.com/mozilla/${pkgbase}/archive/Rhino${_pkgver}_RELEASE.tar.gz)
-sha256sums=('fb44d67e3c83cbf7615afa55d5153d10a3ac73ad75ee68e818d548839368b73b')
+source=(https://github.com/mozilla/${pkgbase}/archive/Rhino${_pkgver}_Release.tar.gz)
+sha512sums=('39675c064fc902678e15baec546986a78d6109ab1cbceae5166773607abcec527ae533ea4540ee67501a5ca02a9dcc467267e722af21b93e72fdb2ede1935ad8')
prepare() {
- cd "${srcdir}/${pkgbase}-Rhino${_pkgver}_RELEASE"
+ cd "${srcdir}/${pkgbase}-Rhino${_pkgver}_Release"
rm -v testsrc/tests/src/jstests.jar
rm -v testsrc/org/mozilla/javascript/tests/commonjs/module/modules.jar
}
build() {
- cd "${srcdir}/${pkgbase}-Rhino${_pkgver}_RELEASE"
+ cd "${srcdir}/${pkgbase}-Rhino${_pkgver}_Release"
ant \
jar \
javadoc
@@ -29,7 +30,7 @@ package_java-rhino() {
pkgdesc="Open-source implementation of JavaScript written entirely in Java - JAR"
depends=('java-runtime-headless')
- cd ${srcdir}/${pkgbase}-Rhino${_pkgver}_RELEASE
+ cd ${srcdir}/${pkgbase}-Rhino${_pkgver}_Release
# Install Maven artifacts
export DESTDIR=${pkgdir}
@@ -45,7 +46,7 @@ package_java-rhino() {
package_rhino-javadoc() {
pkgdesc="Open-source implementation of JavaScript written entirely in Java - Javadoc"
- cd ${srcdir}/${pkgbase}-Rhino${_pkgver}_RELEASE
+ cd ${srcdir}/${pkgbase}-Rhino${_pkgver}_Release
install -m755 -d ${pkgdir}/usr/share/${pkgbase}
cp -r build/${pkgbase}${pkgver}/javadoc ${pkgdir}/usr/share/${pkgbase}
}