diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-07 22:21:50 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-10-07 22:21:50 -0300 |
commit | 98a73341ec32fad1f923466e038d69d8d7261570 (patch) | |
tree | a17e9dfc61af92924911163aa821082a06b4055c /java/closure-compiler | |
parent | 630de86522f987e81d7a08339aa126092a427fa8 (diff) | |
download | abslibre-98a73341ec32fad1f923466e038d69d8d7261570.tar.gz abslibre-98a73341ec32fad1f923466e038d69d8d7261570.tar.bz2 abslibre-98a73341ec32fad1f923466e038d69d8d7261570.zip |
closure-compiler-20150901-1: updating version
Diffstat (limited to 'java/closure-compiler')
-rw-r--r-- | java/closure-compiler/PKGBUILD | 90 | ||||
-rw-r--r-- | java/closure-compiler/closure-compiler.sh | 2 |
2 files changed, 0 insertions, 92 deletions
diff --git a/java/closure-compiler/PKGBUILD b/java/closure-compiler/PKGBUILD deleted file mode 100644 index c53b08cfc..000000000 --- a/java/closure-compiler/PKGBUILD +++ /dev/null @@ -1,90 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> - -pkgname=closure-compiler -pkgver=20140508 -pkgdesc="A JavaScript optimizing compiler." -url="https://developers.google.com/closure/compiler/" -license=('Apache') - -pkgrel=1 -arch=('any') -depends=('java-runtime' 'sh') -makedepends=( - 'apache-ant' - #'java-args4j' # does not exist - #'java-guava' # does not build - 'java-jarjar' - 'java-json' - #'java-jsr305' # does not exist - 'junit' - #'java-protobuf' # does not build - #'java-mockito-core' # does not exist - #'java-objenesis' # does not exist - 'jh' -) - -source=("https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz" 'closure-compiler.sh') -md5sums=('b5f5d88d0f9e5b314bc9351e9d4289de' - 'd4ead4585fcc7039d3c32eb5c4491bb9') - -mkdepends=(git) -mksource=("$pkgname-$pkgver::git+https://github.com/google/closure-compiler.git#tag=v${pkgver}") -mkmd5sums=('SKIP') - -mksource() { - cd "$srcdir/$pkgname-$pkgver" - - sed -i " - /<target name=\"relversion\">/,/<\/target>/ { - s/executable=\"git\"/executable=\"echo\"/ - /<arg/d - /<\/exec>/i<arg value=\"v${pkgver}\" /> - }" \ - build.xml - - sed -i "s/1\.0-SNAPSHOT/v${pkgver}/g" \ - externs/pom.xml \ - lib/rhino/pom.xml \ - pom.xml \ - pom-main.xml -} - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - - ln -sf /opt/apache-ant/lib/ant.jar lib/ant.jar - ln -sf /opt/apache-ant/lib/ant-launcher.jar lib/ant-launcher.jar - #ln -sf /usr/share/java/args4j.jar lib/args4j.jar - #ln -sf /usr/share/java/guava.jar lib/guava.jar - ln -sf /usr/share/java/jarjar.jar lib/jarjar.jar - ln -sf /usr/share/java/json.jar lib/json.jar - #ln -sf /usr/share/java/jsr305.jar lib/jsr305.jar - ln -sf /usr/share/java/junit.jar lib/junit.jar - #ln -sf /usr/share/java/mockito-core.jar lib/mockito-core.jar - #ln -sf /usr/share/java/objenesis.jar lib/objenesis.jar - #ln -sf /usr/share/java/protobuf.jar lib/protobuf-java.jar -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - ant jar -} - -package() { - cd "$srcdir" - install -Dm755 closure-compiler.sh "$pkgdir"/usr/bin/closure-compiler - - # symlink for compatibility with Arch's [community]/closure-compiler - ln -s closure-compiler "$pkgdir"/usr/bin/closure - - cd "$srcdir/$pkgname-$pkgver" - ( - export DESTDIR="$pkgdir" - jh mvn-install com.google.javascript closure-compiler-parent v${pkgver} pom.xml - jh mvn-install com.google.javascript closure-compiler v${pkgver} pom-main.xml \ - build/compiler.jar closure-compiler.jar - jh mvn-install com.google.javascript closure-compiler-externs v${pkgver} externs/pom.xml - jh mvn-install com.google.javascript closure-compiler-rhino v${pkgver} lib/rhino/pom.xml \ - build/lib/rhino.jar - ) -} diff --git a/java/closure-compiler/closure-compiler.sh b/java/closure-compiler/closure-compiler.sh deleted file mode 100644 index e06590db2..000000000 --- a/java/closure-compiler/closure-compiler.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -java -jar /usr/share/java/closure-compiler.jar "$@" |