summaryrefslogtreecommitdiff
path: root/frc-libre/wpilibj-networktable-client
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 22:21:08 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-29 22:21:08 -0500
commitbbe9106bc4e52b96d4d774a588285275d3cdfad1 (patch)
treefc4334cf60018bbbe6bc6f326cd898e83debab4c /frc-libre/wpilibj-networktable-client
parentf99d7432279b9d75e155d4d1240f32833e80108f (diff)
include sources for frc-libre/{wpilibj-networktable-client,wpijavacv,smartdashboard-client}
Diffstat (limited to 'frc-libre/wpilibj-networktable-client')
-rw-r--r--frc-libre/wpilibj-networktable-client/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
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"
}