From bbe9106bc4e52b96d4d774a588285275d3cdfad1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jan 2012 22:21:08 -0500 Subject: include sources for frc-libre/{wpilibj-networktable-client,wpijavacv,smartdashboard-client} --- frc-libre/wpilibj-networktable-client/PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'frc-libre/wpilibj-networktable-client') diff --git a/frc-libre/wpilibj-networktable-client/PKGBUILD b/frc-libre/wpilibj-networktable-client/PKGBUILD index f42459f..f8702a7 100644 --- a/frc-libre/wpilibj-networktable-client/PKGBUILD +++ b/frc-libre/wpilibj-networktable-client/PKGBUILD @@ -13,15 +13,19 @@ makedepends=(apache-ant) source=("https://gitorious.org/absfrc/sources/blobs/raw/master/$pkgname-$pkgver-$pkgrel-any.src.tar.xz") build() { - cd "$srcdir/$pkgname" + cd "$srcdir" + cp -a "$pkgname" "$pkgname-build" + cd "$pkgname-build" ant jar ant javadoc } package() { - cd "$srcdir/$pkgname/dist" + cd "$srcdir/$pkgname-build/dist" install -d "$pkgdir/usr/share/java/wpilibj" install -m644 -D NetworkTable_Client.jar "$pkgdir/usr/share/java/wpilibj" + cp -a "$srcdir/$pkgname" "$pkgdir/usr/share/java/wpilibj/NetworkTable_Client" + install -d "$pkgdir/usr/share/doc/wpilibj" cp -r javadoc "$pkgdir/usr/share/doc/wpilibj/networktable-client" } -- cgit v1.2.3-54-g00ecf