blob: c42691f72bb432e263d249f31f185e654a05db1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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')
|