diff options
Diffstat (limited to 'java/not-working/java-guava/PKGBUILD')
-rw-r--r-- | java/not-working/java-guava/PKGBUILD | 34 |
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() { + : +} |