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/wpijavacv/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'frc-libre/wpijavacv/PKGBUILD') diff --git a/frc-libre/wpijavacv/PKGBUILD b/frc-libre/wpijavacv/PKGBUILD index c42691f..c743f55 100644 --- a/frc-libre/wpijavacv/PKGBUILD +++ b/frc-libre/wpijavacv/PKGBUILD @@ -17,13 +17,19 @@ build() { ln -s /usr/share/java/javacpp.jar lib ln -s /usr/share/java/javacv.jar lib ln -s /usr/share/java/javacv-platform.jar lib + + cd .. + cp -a "$srcdir/$pkgname" "$srcdir/$pkgname-build" + cd "$srcdir/$pkgname-build" + ant jar ant javadoc } package() { - cd "$srcdir/$pkgname/dist" + cd "$srcdir/$pkgname-build/dist" install -m644 -D WPIJavaCV.jar "$pkgdir/usr/share/java/WPIJavaCV.jar" + cp -a "$srcdir/$pkgname" "$pkgdir/usr/share/java/WPIJavaCV" install -d "$pkgdir/usr/share/doc/wpijavacv" cp -r javadoc "$pkgdir/usr/share/doc/wpijavacv" } -- cgit v1.2.3-54-g00ecf