1 # Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
2 # Contributor: Bram Schoenmakers <me@bramschoenmakers.nl>
3 pkgname=closure-compiler
6 pkgdesc="Performs checking, instrumentation and optimizations on Javascript code."
8 url="http://code.google.com/closure"
10 depends=(java-runtime)
11 source=("http://${pkgname}.googlecode.com/files/compiler-${pkgver}.tar.gz")
16 install -m755 -D compiler.jar $pkgdir/usr/share/java/closure-compiler/closure-compiler.jar
19 "$JAVA_HOME/bin/java" -jar /usr/share/java/closure-compiler/closure-compiler.jar $@' > $pkgdir/usr/bin/closure
20 chmod +x $pkgdir/usr/bin/closure
22 sha256sums=('fe73d3c94006e2b9e9fb8447afc08e0772548ed88f11b0e93bd9fba84d45efdf')