diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-29 18:16:42 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-29 18:16:42 -0500 |
commit | 6e4966a0d6e539205edd0832162c5218dca535d6 (patch) | |
tree | 5f5ca01e4891be9eea6b07c563a511d92882d0d9 /frc-libre/wpilibj-networktable-client/PKGBUILD | |
parent | 79b1299218bc0380abda51a0e89aa47bf3e2f8a9 (diff) |
add frc-libre/wpilibj-networktable-client
Diffstat (limited to 'frc-libre/wpilibj-networktable-client/PKGBUILD')
-rw-r--r-- | frc-libre/wpilibj-networktable-client/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/frc-libre/wpilibj-networktable-client/PKGBUILD b/frc-libre/wpilibj-networktable-client/PKGBUILD new file mode 100644 index 0000000..f42459f --- /dev/null +++ b/frc-libre/wpilibj-networktable-client/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=wpilibj-networktable-client +pkgver=197 +pkgrel=1 +pkgdesc="WPI NetworkTable Client library" +arch=('any') +groups=(frc) +url="http://firstforge.wpi.edu/sf/projects/smartdashboard" +license=unknown +depends=(java-environment) +makedepends=(apache-ant) +source=("https://gitorious.org/absfrc/sources/blobs/raw/master/$pkgname-$pkgver-$pkgrel-any.src.tar.xz") + +build() { + cd "$srcdir/$pkgname" + ant jar + ant javadoc +} + +package() { + cd "$srcdir/$pkgname/dist" + install -d "$pkgdir/usr/share/java/wpilibj" + install -m644 -D NetworkTable_Client.jar "$pkgdir/usr/share/java/wpilibj" + install -d "$pkgdir/usr/share/doc/wpilibj" + cp -r javadoc "$pkgdir/usr/share/doc/wpilibj/networktable-client" +} + +md5sums=('41f85650a7d16e14376a9af8839ab4f8') |