summaryrefslogtreecommitdiff
path: root/java/not-working/java-guava/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-19 17:42:01 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-19 17:42:01 -0400
commit49455600daf927f16cee8c7ffb0638cefa32247c (patch)
tree7b652aa183330afa2f9553cc97a07db5bd01888b /java/not-working/java-guava/PKGBUILD
parent659ed1759060bb4bf572f162d15785eeba6c0172 (diff)
downloadabslibre-49455600daf927f16cee8c7ffb0638cefa32247c.tar.gz
abslibre-49455600daf927f16cee8c7ffb0638cefa32247c.tar.bz2
abslibre-49455600daf927f16cee8c7ffb0638cefa32247c.zip
add java{,-ugly}/not-working folders with all of my not-working packages
Diffstat (limited to 'java/not-working/java-guava/PKGBUILD')
-rw-r--r--java/not-working/java-guava/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/not-working/java-guava/PKGBUILD b/java/not-working/java-guava/PKGBUILD
new file mode 100644
index 000000000..0250e7183
--- /dev/null
+++ b/java/not-working/java-guava/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+_pkgname=guava
+pkgname=java-guava
+pkgver=13.0.1
+pkgdesc="Google Core Libraries for Java."
+url="https://code.google.com/p/guava-libraries/"
+license=('Apache2')
+
+pkgrel=1
+arch=('any')
+depends=('java-runtime>=5')
+makedepends=('java-runtime>=6' 'maven' 'junit-truth' 'jh')
+conflicts=('openjdk6') # OpenJDK bug 100167 conflicts
+source=("$pkgname::git+https://code.google.com/p/guava-libraries/#tag=v$pkgver")
+
+mksource() {
+ cd "$srcdir/$pkgname"
+ rm guava/lib/*.jar
+ rm guava-test/lib/*.jar
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ eval `jh mksource`
+
+ ln -s /usr/share/java/junit-truth.jar guava-tests/lib/libtruth.java
+
+ mvn package
+}
+
+package() {
+ :
+}