summaryrefslogtreecommitdiff
path: root/frc-notworking/smartdashboard-client/PKGBUILD
blob: 28d5b7173e1e5c2903ab9a21e9a3059cf8107006 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=smartdashboard-client
pkgver=2012
pkgrel=1
pkgdesc='This is the platform independent SmartDashboard jar file.'
arch=any
url="http://firstforge.wpi.edu/sf/projects/smartdashboard"
license=unknown
groups=(frc)
depends=(java-runtime)
source=(
  'SmartDashboard2012-src-netbeans.zip::http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.smartdashboard/frs.smartdashboard_client_0_5a1.smartdashboard_client_2012/frs1360?dl=1'
  smartdashboard.sh
)

build() {
  cd "$srcdir/smartdashboard2012"
  ant
}

package() {
  cd "$srcdir"

  install -m644 -D SmartDashboard2012.jar "$pkgdir/usr/share/smartdashboard/SmartDashboard.jar"
  install -m755 -D smartdashboard.sh "$pkgdir/usr/bin/smartdashboard"
}

md5sums=('174b02a7e6b4e5bd6301a1afb88c5be6'
         'a278b2e86bd4d732e86ac9e084f5ec4d')