summaryrefslogtreecommitdiff
path: root/frc-libre/wpijavacv/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'frc-libre/wpijavacv/PKGBUILD')
-rw-r--r--frc-libre/wpijavacv/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/frc-libre/wpijavacv/PKGBUILD b/frc-libre/wpijavacv/PKGBUILD
new file mode 100644
index 0000000..c42691f
--- /dev/null
+++ b/frc-libre/wpijavacv/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=wpijavacv
+pkgver=208
+pkgrel=1
+pkgdesc="WPI extentensions to JavaCV."
+arch=('any')
+groups=(frc)
+url="http://firstforge.wpi.edu/sf/projects/smartdashboard"
+license=unknown
+depends=(java-environment javacv)
+makedepends=(apache-ant)
+source=("https://gitorious.org/absfrc/sources/blobs/raw/master/$pkgname-$pkgver-$pkgrel-any.src.tar.xz")
+
+build() {
+ cd "$srcdir/$pkgname"
+ 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
+ ant jar
+ ant javadoc
+}
+
+package() {
+ cd "$srcdir/$pkgname/dist"
+ install -m644 -D WPIJavaCV.jar "$pkgdir/usr/share/java/WPIJavaCV.jar"
+ install -d "$pkgdir/usr/share/doc/wpijavacv"
+ cp -r javadoc "$pkgdir/usr/share/doc/wpijavacv"
+}
+
+md5sums=('8f7c7b60d4a12324fa12234c522165e1')