[arch-commits] Commit in closure-compiler/repos/community-any (PKGBUILD PKGBUILD)
Ike Devolder
idevolder at archlinux.org
Sat Apr 29 10:07:40 UTC 2017
Date: Saturday, April 29, 2017 @ 10:07:39
Author: idevolder
Revision: 226218
archrelease: copy trunk to community-any
Added:
closure-compiler/repos/community-any/PKGBUILD
(from rev 226217, closure-compiler/trunk/PKGBUILD)
Deleted:
closure-compiler/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-29 10:07:28 UTC (rev 226217)
+++ PKGBUILD 2017-04-29 10:07:39 UTC (rev 226218)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-# Contributor: Bram Schoenmakers <me at bramschoenmakers.nl>
-pkgname=closure-compiler
-pkgver=20170409
-pkgrel=1
-pkgdesc="Performs checking, instrumentation and optimizations on Javascript code."
-arch=('any')
-url="https://developers.google.com/closure/compiler/"
-license=('APACHE')
-depends=('java-runtime')
-makedepends=('maven' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('4231129a4ad1c03310cf22aab307c20c19eb715173dc56d8281e639a945a609a')
-
-LANG='en_US.UTF-8'
-
-build() {
- cd "$pkgname-$pkgver"
-
- mvn -DskipTests
-}
-
-#check() {
- #cd "$pkgname-$pkgver"
-
- #ant test
-#}
-
-package() {
- cd "$pkgname-$pkgver"
-
- install -Dm644 target/closure-compiler-1.0-SNAPSHOT.jar \
- "$pkgdir/usr/share/java/closure-compiler/closure-compiler.jar"
- install -Dm644 target/closure-compiler-linter-1.0-SNAPSHOT.jar \
- "$pkgdir/usr/share/java/closure-compiler/closure-compiler-linter.jar"
- install -dm755 $pkgdir/usr/bin
- echo '#!/bin/sh
- "$JAVA_HOME/bin/java" -jar /usr/share/java/closure-compiler/closure-compiler.jar $@' > "$pkgdir/usr/bin/closure-compiler"
- chmod +x "$pkgdir/usr/bin/closure-compiler"
- echo '#!/bin/sh
- "$JAVA_HOME/bin/java" -jar /usr/share/java/closure-compiler/closure-compiler-linter.jar $@' > "$pkgdir/usr/bin/closure-compiler-linter"
- chmod +x "$pkgdir/usr/bin/closure-compiler-linter"
-}
-
Copied: closure-compiler/repos/community-any/PKGBUILD (from rev 226217, closure-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-04-29 10:07:39 UTC (rev 226218)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+# Contributor: Bram Schoenmakers <me at bramschoenmakers.nl>
+pkgname=closure-compiler
+pkgver=20170423
+pkgrel=1
+pkgdesc="Performs checking, instrumentation and optimizations on Javascript code."
+arch=('any')
+url="https://developers.google.com/closure/compiler/"
+license=('APACHE')
+depends=('java-runtime')
+makedepends=('maven' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/google/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('0ee7b88ed2955b622eaa038bece283e28d0fb5abebfbb80871fc3d0353f0000b')
+
+LANG='en_US.UTF-8'
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ mvn -DskipTests
+}
+
+#check() {
+ #cd "$pkgname-$pkgver"
+
+ #ant test
+#}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ install -Dm644 target/closure-compiler-1.0-SNAPSHOT.jar \
+ "$pkgdir/usr/share/java/closure-compiler/closure-compiler.jar"
+ install -Dm644 target/closure-compiler-linter-1.0-SNAPSHOT.jar \
+ "$pkgdir/usr/share/java/closure-compiler/closure-compiler-linter.jar"
+ install -dm755 $pkgdir/usr/bin
+ echo '#!/bin/sh
+ "$JAVA_HOME/bin/java" -jar /usr/share/java/closure-compiler/closure-compiler.jar $@' > "$pkgdir/usr/bin/closure-compiler"
+ chmod +x "$pkgdir/usr/bin/closure-compiler"
+ echo '#!/bin/sh
+ "$JAVA_HOME/bin/java" -jar /usr/share/java/closure-compiler/closure-compiler-linter.jar $@' > "$pkgdir/usr/bin/closure-compiler-linter"
+ chmod +x "$pkgdir/usr/bin/closure-compiler-linter"
+}
+
More information about the arch-commits
mailing list