From 49455600daf927f16cee8c7ffb0638cefa32247c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 19 Oct 2012 17:42:01 -0400 Subject: add java{,-ugly}/not-working folders with all of my not-working packages --- java/not-working/java-guava/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ java/not-working/java-guava/TODO | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 java/not-working/java-guava/PKGBUILD create mode 100644 java/not-working/java-guava/TODO (limited to 'java/not-working/java-guava') 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 + +_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() { + : +} diff --git a/java/not-working/java-guava/TODO b/java/not-working/java-guava/TODO new file mode 100644 index 000000000..ee0a18042 --- /dev/null +++ b/java/not-working/java-guava/TODO @@ -0,0 +1,2 @@ +* depends on junit-truth, which does not build yet +* package() hasn't been written -- cgit v1.2.3-2-g168b